From: Oliver Schmidt
Date: Wed, 1 Jun 2016 21:00:37 +0000 (+0200)
Subject: Don't hide build commands.
X-Git-Tag: V2.16~124
X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1ab725e526d542c2ccf816f10133ff508c399c9b;p=cc65
Don't hide build commands.
The samples Makefile serves educational purposes. From that perspective it's counterproductive to hide the actual build commands. Apart fom that it becomes visible if an installed cc65 is used to build the samples.
---
diff --git a/samples/Makefile b/samples/Makefile
index 26b0e42f4..2b356b384 100644
--- a/samples/Makefile
+++ b/samples/Makefile
@@ -87,18 +87,16 @@ LDFLAGS_tgidemo_atari = -D __RESERVED_MEMORY__=0x2000
%: %.s
.c.o:
- @echo $<
- @$(CC) $(CFLAGS) -Oirs --codesize 500 -T -g -t $(SYS) $<
- @$(AS) $(<:.c=.s)
+ $(CC) $(CFLAGS) -Oirs --codesize 500 -T -g -t $(SYS) $<
+ $(AS) $(<:.c=.s)
.s.o:
- @echo $<
- @$(AS) $(AFLAGS) -t $(SYS) $<
+ $(AS) $(AFLAGS) -t $(SYS) $<
.PRECIOUS: %.o
.o:
- @$(LD) $(LDFLAGS_$(@F)_$(SYS)) -o $@ -t $(SYS) -m $@.map $^ $(CLIB)
+ $(LD) $(LDFLAGS_$(@F)_$(SYS)) -o $@ -t $(SYS) -m $@.map $^ $(CLIB)
# --------------------------------------------------------------------------
# List of executables. This list could be made target-dependent by checking
@@ -131,10 +129,10 @@ samples: $(EXELIST)
# overlay file-names are shortenned to fit the Atari's 8.3-character limit.
multdemo: multidemo.o
- @$(LD) -o $@ -C $(SYS)-overlay.cfg -m $@.map $^ $(CLIB)
+ $(LD) -o $@ -C $(SYS)-overlay.cfg -m $@.map $^ $(CLIB)
ovrldemo: overlaydemo.o
- @$(LD) -o $@ -C $(SYS)-overlay.cfg -m $@.map $^ $(CLIB)
+ $(LD) -o $@ -C $(SYS)-overlay.cfg -m $@.map $^ $(CLIB)
# --------------------------------------------------------------------------
# Rule to make a CBM disk with all samples. Needs the c1541 program that comes