spectrum_cmbrot
annotate Makefile @ 4:3ac0c33742cf
changed to 8bit arithmetic for the outer loop
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 17 Feb 2014 20:33:39 +0200 |
parents | 34f2fca9690b |
children |
rev | line source |
---|---|
nuclear@3 | 1 src = $(wildcard *.c) |
nuclear@0 | 2 obj = $(src:.c=.o) |
nuclear@0 | 3 |
nuclear@3 | 4 bin = mbrot.tap |
nuclear@3 | 5 wav = mbrot.wav |
nuclear@0 | 6 |
nuclear@0 | 7 CC = zcc |
nuclear@1 | 8 CFLAGS = +zx -pragma-define=myzorg=28000 -O2 |
nuclear@0 | 9 LDFLAGS = -create-app |
nuclear@0 | 10 |
nuclear@0 | 11 $(bin): $(obj) |
nuclear@0 | 12 $(CC) $(CFLAGS) -o $@ $(LDFLAGS) $(obj) |
nuclear@0 | 13 |
nuclear@2 | 14 $(wav): $(bin) |
nuclear@2 | 15 tape2wav $< $@ |
nuclear@2 | 16 |
nuclear@2 | 17 .PHONY: wav |
nuclear@2 | 18 wav: $(wav) |
nuclear@2 | 19 |
nuclear@0 | 20 .PHONY: clean |
nuclear@0 | 21 clean: |
nuclear@0 | 22 rm -f $(obj) $(bin) |