mirror of
https://github.com/cc65/cc65.git
synced 2025-04-12 00:37:12 +00:00
Make Makefiles more -j friendly
Add .$1.$2 to outputs missing them.
This commit is contained in:
parent
f5afc75cbd
commit
878e4a57c8
@ -16,8 +16,6 @@ WORKDIR = ../testwrk
|
||||
|
||||
all: dotests
|
||||
|
||||
.NOTPARALLEL:
|
||||
|
||||
dotests: mostlyclean continue
|
||||
|
||||
continue:
|
||||
|
@ -41,6 +41,9 @@ 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))
|
||||
|
||||
|
@ -69,13 +69,13 @@ $(WORKDIR)/endless.$1.$2.prg: endless.c | $(WORKDIR)
|
||||
$(WORKDIR)/limits.$1.$2.prg: limits.c $(DIFF)
|
||||
$(if $(QUIET),echo misc/limits.$1.$2.prg)
|
||||
$(CL65) -t sim$2 -$1 -o $$@ $$< $(NULLERR)
|
||||
$(SIM65) $(SIM65FLAGS) $$@ > $(WORKDIR)/limits.$1.out
|
||||
$(DIFF) $(WORKDIR)/limits.$1.out limits.ref
|
||||
$(SIM65) $(SIM65FLAGS) $$@ > $(WORKDIR)/limits.$1.$2.out
|
||||
$(DIFF) $(WORKDIR)/limits.$1.$2.out limits.ref
|
||||
|
||||
$(WORKDIR)/goto.$1.$2.prg: goto.c $(DIFF)
|
||||
$(if $(QUIET),echo misc/goto.$1.$2.prg)
|
||||
$(CL65) -t sim$2 -$1 -o $$@ $$< 2>$(WORKDIR)/goto.$1.out
|
||||
$(DIFF) $(WORKDIR)/goto.$1.out goto.ref
|
||||
$(CL65) -t sim$2 -$1 -o $$@ $$< 2>$(WORKDIR)/goto.$1.$2.out
|
||||
$(DIFF) $(WORKDIR)/goto.$1.$2.out goto.ref
|
||||
|
||||
# the rest are tests that fail currently for one reason or another
|
||||
$(WORKDIR)/fields.$1.$2.prg: fields.c | $(WORKDIR)
|
||||
|
Loading…
x
Reference in New Issue
Block a user