make: change uppercase prefix var

This commit is contained in:
Pascal de Bruijn
2017-07-22 16:38:50 +02:00
parent 64581b65b0
commit 19f6ae1d54
4 changed files with 10 additions and 10 deletions

View File

@@ -72,7 +72,7 @@ endif
ifndef TARGET
datadir = $(prefix)/share/cc65
datadir = $(PREFIX)/share/cc65
all lib: $(TARGETS)
@@ -92,7 +92,7 @@ INSTALL = install
define INSTALL_recipe
$(if $(prefix),,$(error variable `prefix' must be set))
$(if $(PREFIX),,$(error variable `PREFIX' must be set))
$(INSTALL) -d $(DESTDIR)$(datadir)/$(dir)
$(INSTALL) -m0644 ../$(dir)/*.* $(DESTDIR)$(datadir)/$(dir)