fix -s vs QUIET in testtarget

This commit is contained in:
mrdudz
2025-06-26 20:15:28 +02:00
parent 7a85575158
commit afe395e970
6 changed files with 80 additions and 2 deletions

View File

@@ -36,6 +36,14 @@ else
LD := $(if $(wildcard ../../bin/ld65*),../../bin/ld65,ld65)
endif
ifeq ($(SILENT),s)
QUIET = 1
endif
ifdef QUIET
.SILENT:
endif
EXELIST_c64 = \
c64-scpu-test.prg \
c64dtv-test.prg \
@@ -64,27 +72,35 @@ else
endif
c64-scpu-test.prg: c64-c128-scpu-test.c
$(if $(QUIET),echo $@)
$(CL) -t c64 c64-c128-scpu-test.c -o c64-scpu-test.prg
c128-scpu-test.prg: c64-c128-scpu-test.c
$(if $(QUIET),echo $@)
$(CL) -t c128 c64-c128-scpu-test.c -o c128-scpu-test.prg
c64dtv-test.prg: c64dtv-test.c
$(if $(QUIET),echo $@)
$(CL) -t c64 c64dtv-test.c -o c64dtv-test.prg
c64-test.prg: c64-c128-test.c
$(if $(QUIET),echo $@)
$(CL) -t c64 c64-c128-test.c -o c64-test.prg
c128-test.prg: c64-c128-test.c
$(if $(QUIET),echo $@)
$(CL) -t c128 c64-c128-test.c -o c128-test.prg
chameleon-test.prg: chameleon-test.c
$(if $(QUIET),echo $@)
$(CL) -t c64 chameleon-test.c -o chameleon-test.prg
c65-test.prg: c65-test.c
$(if $(QUIET),echo $@)
$(CL) -t c64 c65-test.c -o c65-test.prg
turbomaster-test.prg: turbomaster-test.c
$(if $(QUIET),echo $@)
$(CL) -t c64 turbomaster-test.c -o turbomaster-test.prg
clean: