mirror of
https://github.com/cc65/cc65.git
synced 2026-04-25 22:18:27 +00:00
make makefiles in samples behave the same as the others
This commit is contained in:
@@ -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_atari2600 = \
|
||||
notavailable
|
||||
|
||||
@@ -86,9 +94,12 @@ ifndef EXELIST_$(SYS)
|
||||
EXELIST_$(SYS) := ${patsubst %.c,%,$(wildcard *.c)}
|
||||
endif
|
||||
|
||||
all: samples
|
||||
|
||||
samples: $(EXELIST_$(SYS))
|
||||
|
||||
hello: hello.c text.s
|
||||
$(if $(QUIET),echo $(SYS):$@)
|
||||
$(CL) -t $(SYS) -o hello hello.c text.s
|
||||
|
||||
# empty target used to skip systems that will not work with any program in this dir
|
||||
|
||||
Reference in New Issue
Block a user