From 8891a896b51a4e8adec879da8a1fd991d740b422 Mon Sep 17 00:00:00 2001 From: Jesse Rosenstock Date: Sat, 27 Jun 2020 21:15:22 +0200 Subject: [PATCH] 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. --- test/ref/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/ref/Makefile b/test/ref/Makefile index 5f0b86164..a94f65dd8 100644 --- a/test/ref/Makefile +++ b/test/ref/Makefile @@ -71,8 +71,8 @@ define PRG_template $(WORKDIR)/%.$1.$2.prg: %.c $(WORKDIR)/%.ref $(DIFF) $(if $(QUIET),echo ref/$$*.$1.$2.prg) $(CL65) -t sim$2 $$(CC65FLAGS) -$1 -o $$@ $$< $(NULLERR) - $(SIM65) $(SIM65FLAGS) $$@ > $(WORKDIR)/$$*.out - $(DIFF) $(WORKDIR)/$$*.out $(WORKDIR)/$$*.ref + $(SIM65) $(SIM65FLAGS) $$@ > $(WORKDIR)/$$*.$1.$2.out + $(DIFF) $(WORKDIR)/$$*.$1.$2.out $(WORKDIR)/$$*.ref endef # PRG_template