diff --git a/src/Makefile b/src/Makefile index f652f6925..e58cdf50c 100644 --- a/src/Makefile +++ b/src/Makefile @@ -57,7 +57,7 @@ ifdef QUIET PQ = "QUIET=1" PD = --no-print-directory ifndef CMD_EXE - CATERR = 2> ../wrk/common/$$@.errlog || (cat ../wrk/common/$$@.errlog && false) + CATERR = 2> $@.errlog || (cat $@.errlog && false) endif endif diff --git a/test/asm/err/Makefile b/test/asm/err/Makefile index 9b6bc7fa9..d4648029a 100644 --- a/test/asm/err/Makefile +++ b/test/asm/err/Makefile @@ -33,7 +33,7 @@ ifdef QUIET NULLOUT = >$(NULLDEV) NULLERR = 2>$(NULLDEV) ifndef CMD_EXE - CATERR = 2> $(WORKDIR)/$$@.errlog || (cat $(WORKDIR)/$$@.errlog && false) + CATERR = 2> $@.errlog && (cat $@.errlog && true) endif endif @@ -53,7 +53,7 @@ $(WORKDIR): $(WORKDIR)/%.prg: %.s | $(WORKDIR) $(if $(QUIET),echo asm/err/$*.s) - $(NOT) $(CA65) -o $@ $< $(NULLERR) + $(NOT) $(CA65) -o $@ $< $(CATERR) clean: @$(call RMDIR,$(WORKDIR)) diff --git a/test/err/Makefile b/test/err/Makefile index 60780d27b..5f5bc3841 100644 --- a/test/err/Makefile +++ b/test/err/Makefile @@ -33,7 +33,7 @@ ifdef QUIET NULLOUT = >$(NULLDEV) NULLERR = 2>$(NULLDEV) ifndef CMD_EXE - CATERR = 2> $(WORKDIR)/$$@.errlog || (cat $(WORKDIR)/$$@.errlog && false) + CATERR = 2> $@.errlog && (cat $@.errlog && true) endif endif