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
|
CMD_EXE = 1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
.PHONY: all mostlyclean clean install lib $(TARGETS)
|
|
||||||
|
|
||||||
.SUFFIXES:
|
|
||||||
|
|
||||||
CBMS = c128 \
|
CBMS = c128 \
|
||||||
c16 \
|
c16 \
|
||||||
c64 \
|
c64 \
|
||||||
@@ -37,6 +33,10 @@ DRVTYPES = emd \
|
|||||||
ser \
|
ser \
|
||||||
tgi
|
tgi
|
||||||
|
|
||||||
|
.PHONY: all mostlyclean clean install lib $(TARGETS)
|
||||||
|
|
||||||
|
.SUFFIXES:
|
||||||
|
|
||||||
ifdef CMD_EXE
|
ifdef CMD_EXE
|
||||||
DIRLIST = $(strip $(foreach dir,$1,$(wildcard $(dir))))
|
DIRLIST = $(strip $(foreach dir,$1,$(wildcard $(dir))))
|
||||||
MKDIR = mkdir $(subst /,\,$1)
|
MKDIR = mkdir $(subst /,\,$1)
|
||||||
|
|||||||
@@ -2,10 +2,6 @@ ifneq ($(shell echo),)
|
|||||||
CMD_EXE = 1
|
CMD_EXE = 1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
.PHONY: all mostlyclean clean install avail unavail bin $(PROGS)
|
|
||||||
|
|
||||||
.SUFFIXES:
|
|
||||||
|
|
||||||
PROGS = ar65 \
|
PROGS = ar65 \
|
||||||
ca65 \
|
ca65 \
|
||||||
cc65 \
|
cc65 \
|
||||||
@@ -18,6 +14,10 @@ PROGS = ar65 \
|
|||||||
sim65 \
|
sim65 \
|
||||||
sp65
|
sp65
|
||||||
|
|
||||||
|
.PHONY: all mostlyclean clean install avail unavail bin $(PROGS)
|
||||||
|
|
||||||
|
.SUFFIXES:
|
||||||
|
|
||||||
bindir := $(prefix)/bin
|
bindir := $(prefix)/bin
|
||||||
datadir := $(if $(prefix),$(prefix)/share/cc65,$(abspath ..))
|
datadir := $(if $(prefix),$(prefix)/share/cc65,$(abspath ..))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user