Moved .PHONY below definitions it refers to.
I must admit that I don't understand why but obviously it is necessary to place .PHONY below the definition of variables it refers to - although those variables are recursively expanded ones! Not doing so made libsrc/Makefile build only three target libraries.
This commit is contained in:
@@ -2,10 +2,6 @@ ifneq ($(shell echo),)
|
||||
CMD_EXE = 1
|
||||
endif
|
||||
|
||||
.PHONY: all mostlyclean clean install avail unavail bin $(PROGS)
|
||||
|
||||
.SUFFIXES:
|
||||
|
||||
PROGS = ar65 \
|
||||
ca65 \
|
||||
cc65 \
|
||||
@@ -18,6 +14,10 @@ PROGS = ar65 \
|
||||
sim65 \
|
||||
sp65
|
||||
|
||||
.PHONY: all mostlyclean clean install avail unavail bin $(PROGS)
|
||||
|
||||
.SUFFIXES:
|
||||
|
||||
bindir := $(prefix)/bin
|
||||
datadir := $(if $(prefix),$(prefix)/share/cc65,$(abspath ..))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user