make makefiles in samples behave the same as the others

This commit is contained in:
mrdudz
2025-06-26 22:16:08 +02:00
parent cc6813428c
commit fed7276a63
15 changed files with 191 additions and 6 deletions

View File

@@ -37,6 +37,14 @@ else
LD := $(if $(wildcard ../../bin/ld65*),../../bin/ld65,ld65)
endif
ifeq ($(SILENT),s)
QUIET = 1
endif
ifdef QUIET
.SILENT:
endif
EXELIST_sim6502 = \
cpumode_example.bin \
timer_example.bin \
@@ -61,6 +69,7 @@ endif
.SUFFIXES: .c .bin
%.bin : %.c
$(if $(QUIET),echo $(SYS):$@)
$(CL) -t $(SYS) -Oris -m $*.map -o $@ $<
clean: