Make Makefiles more -j friendly
Add .$1.$2 to outputs missing them.
This commit is contained in:
committed by
Oliver Schmidt
parent
f5afc75cbd
commit
878e4a57c8
@@ -16,8 +16,6 @@ WORKDIR = ../testwrk
|
|||||||
|
|
||||||
all: dotests
|
all: dotests
|
||||||
|
|
||||||
.NOTPARALLEL:
|
|
||||||
|
|
||||||
dotests: mostlyclean continue
|
dotests: mostlyclean continue
|
||||||
|
|
||||||
continue:
|
continue:
|
||||||
|
|||||||
@@ -41,6 +41,9 @@ CPUDETECT_BINS = $(foreach cpu,$(CPUDETECT_CPUS),$(WORKDIR)/$(cpu)-cpudetect.bin
|
|||||||
|
|
||||||
all: $(OPCODE_BINS) $(CPUDETECT_BINS)
|
all: $(OPCODE_BINS) $(CPUDETECT_BINS)
|
||||||
|
|
||||||
|
# cpudetect.o is written by multiple rules
|
||||||
|
.NOTPARALLEL:
|
||||||
|
|
||||||
$(WORKDIR):
|
$(WORKDIR):
|
||||||
$(call MKDIR,$(WORKDIR))
|
$(call MKDIR,$(WORKDIR))
|
||||||
|
|
||||||
|
|||||||
@@ -69,13 +69,13 @@ $(WORKDIR)/endless.$1.$2.prg: endless.c | $(WORKDIR)
|
|||||||
$(WORKDIR)/limits.$1.$2.prg: limits.c $(DIFF)
|
$(WORKDIR)/limits.$1.$2.prg: limits.c $(DIFF)
|
||||||
$(if $(QUIET),echo misc/limits.$1.$2.prg)
|
$(if $(QUIET),echo misc/limits.$1.$2.prg)
|
||||||
$(CL65) -t sim$2 -$1 -o $$@ $$< $(NULLERR)
|
$(CL65) -t sim$2 -$1 -o $$@ $$< $(NULLERR)
|
||||||
$(SIM65) $(SIM65FLAGS) $$@ > $(WORKDIR)/limits.$1.out
|
$(SIM65) $(SIM65FLAGS) $$@ > $(WORKDIR)/limits.$1.$2.out
|
||||||
$(DIFF) $(WORKDIR)/limits.$1.out limits.ref
|
$(DIFF) $(WORKDIR)/limits.$1.$2.out limits.ref
|
||||||
|
|
||||||
$(WORKDIR)/goto.$1.$2.prg: goto.c $(DIFF)
|
$(WORKDIR)/goto.$1.$2.prg: goto.c $(DIFF)
|
||||||
$(if $(QUIET),echo misc/goto.$1.$2.prg)
|
$(if $(QUIET),echo misc/goto.$1.$2.prg)
|
||||||
$(CL65) -t sim$2 -$1 -o $$@ $$< 2>$(WORKDIR)/goto.$1.out
|
$(CL65) -t sim$2 -$1 -o $$@ $$< 2>$(WORKDIR)/goto.$1.$2.out
|
||||||
$(DIFF) $(WORKDIR)/goto.$1.out goto.ref
|
$(DIFF) $(WORKDIR)/goto.$1.$2.out goto.ref
|
||||||
|
|
||||||
# the rest are tests that fail currently for one reason or another
|
# the rest are tests that fail currently for one reason or another
|
||||||
$(WORKDIR)/fields.$1.$2.prg: fields.c | $(WORKDIR)
|
$(WORKDIR)/fields.$1.$2.prg: fields.c | $(WORKDIR)
|
||||||
|
|||||||
Reference in New Issue
Block a user