mirror of
https://github.com/cc65/cc65.git
synced 2025-01-11 11:30:13 +00:00
test/ref: Use separate .out files
Use different .out files for different options / targets. This allows make -j N to work. Previously all test.*.*.prgs would use the same test.out file. Now test.*.*.out is also used.
This commit is contained in:
parent
d31171164e
commit
8891a896b5
@ -71,8 +71,8 @@ define PRG_template
|
|||||||
$(WORKDIR)/%.$1.$2.prg: %.c $(WORKDIR)/%.ref $(DIFF)
|
$(WORKDIR)/%.$1.$2.prg: %.c $(WORKDIR)/%.ref $(DIFF)
|
||||||
$(if $(QUIET),echo ref/$$*.$1.$2.prg)
|
$(if $(QUIET),echo ref/$$*.$1.$2.prg)
|
||||||
$(CL65) -t sim$2 $$(CC65FLAGS) -$1 -o $$@ $$< $(NULLERR)
|
$(CL65) -t sim$2 $$(CC65FLAGS) -$1 -o $$@ $$< $(NULLERR)
|
||||||
$(SIM65) $(SIM65FLAGS) $$@ > $(WORKDIR)/$$*.out
|
$(SIM65) $(SIM65FLAGS) $$@ > $(WORKDIR)/$$*.$1.$2.out
|
||||||
$(DIFF) $(WORKDIR)/$$*.out $(WORKDIR)/$$*.ref
|
$(DIFF) $(WORKDIR)/$$*.$1.$2.out $(WORKDIR)/$$*.ref
|
||||||
|
|
||||||
endef # PRG_template
|
endef # PRG_template
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user