From 1ab725e526d542c2ccf816f10133ff508c399c9b Mon Sep 17 00:00:00 2001 From: Oliver Schmidt Date: Wed, 1 Jun 2016 23:00:37 +0200 Subject: [PATCH] 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. --- samples/Makefile | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) 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 -- 2.39.5