spectrum_cmbrot

changeset 2:34f2fca9690b

added rule to convert tap->wav
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 17 Feb 2014 11:02:24 +0200
parents c2815c765fea
children 8e7f17958dbb
files Makefile
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line diff
     1.1 --- a/Makefile	Mon Feb 17 11:00:23 2014 +0200
     1.2 +++ b/Makefile	Mon Feb 17 11:02:24 2014 +0200
     1.3 @@ -2,6 +2,7 @@
     1.4  obj = $(src:.c=.o)
     1.5  
     1.6  bin = test.tap
     1.7 +wav = $(bin:.tap=.wav)
     1.8  
     1.9  CC = zcc
    1.10  CFLAGS = +zx -pragma-define=myzorg=28000 -O2
    1.11 @@ -11,6 +12,12 @@
    1.12  	rm -f $(bin)
    1.13  	$(CC) $(CFLAGS) -o $@ $(LDFLAGS) $(obj)
    1.14  
    1.15 +$(wav): $(bin)
    1.16 +	tape2wav $< $@
    1.17 +
    1.18 +.PHONY: wav
    1.19 +wav: $(wav)
    1.20 +
    1.21  .PHONY: clean
    1.22  clean:
    1.23  	rm -f $(obj) $(bin)