1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-07 07:29:33 +00:00

Move .NOTPARALLEL closer to rule that needs it

This commit is contained in:
Jesse Rosenstock 2020-07-10 11:48:47 +02:00 committed by Oliver Schmidt
parent 878e4a57c8
commit 3999f2ad75

View File

@ -41,9 +41,6 @@ CPUDETECT_BINS = $(foreach cpu,$(CPUDETECT_CPUS),$(WORKDIR)/$(cpu)-cpudetect.bin
all: $(OPCODE_BINS) $(CPUDETECT_BINS)
# cpudetect.o is written by multiple rules
.NOTPARALLEL:
$(WORKDIR):
$(call MKDIR,$(WORKDIR))
@ -61,6 +58,9 @@ endef # OPCODE_template
$(foreach cpu,$(OPCODE_CPUS),$(eval $(call OPCODE_template,$(cpu))))
# cpudetect.o is written by multiple rules
.NOTPARALLEL:
define CPUDETECT_template
$(WORKDIR)/$1-cpudetect.bin: cpudetect.s $(DIFF)