Apply changes by @mrduz. Fixes an error in the makefile and adjusts the

mostlyclean target accordingly.
This commit is contained in:
Kugel Fuhr
2025-07-09 13:35:27 +02:00
parent 735edaa8f7
commit d82a1f9fa0

View File

@@ -56,7 +56,7 @@ ifdef QUIET
PQ = "QUIET=1" PQ = "QUIET=1"
PD = --no-print-directory PD = --no-print-directory
ifndef CMD_EXE ifndef CMD_EXE
CATERR = 2> $$@.errlog || (cat $$@.errlog && false) CATERR = 2> $@.errlog || (cat $@.errlog && false)
endif endif
endif endif
@@ -967,7 +967,7 @@ testcode.atr: testcode
# Clean-up rules # Clean-up rules
mostlyclean: mostlyclean:
@$(DEL) .errlog *.lbl *.map *.o 2>$(NULLDEV) @$(DEL) *.errlog *.lbl *.map *.o 2>$(NULLDEV)
# we cant use .s since we have asm files in the directory that we want to keep # we cant use .s since we have asm files in the directory that we want to keep
@$(DEL) ${patsubst %.c,%.s,$(wildcard *.c)} 2>$(NULLDEV) @$(DEL) ${patsubst %.c,%.s,$(wildcard *.c)} 2>$(NULLDEV)