spectrum_cmbrot

diff Makefile @ 0:e56d8b0eee4b

spectrum fractal :)
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 17 Feb 2014 10:17:17 +0200
parents
children c2815c765fea
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Makefile	Mon Feb 17 10:17:17 2014 +0200
     1.3 @@ -0,0 +1,16 @@
     1.4 +src = test.c
     1.5 +obj = $(src:.c=.o)
     1.6 +
     1.7 +bin = test.tap
     1.8 +
     1.9 +CC = zcc
    1.10 +CFLAGS = +zx -pragma-define=myzorg=28000
    1.11 +LDFLAGS = -create-app
    1.12 +
    1.13 +$(bin): $(obj)
    1.14 +	rm -f $(bin)
    1.15 +	$(CC) $(CFLAGS) -o $@ $(LDFLAGS) $(obj)
    1.16 +
    1.17 +.PHONY: clean
    1.18 +clean:
    1.19 +	rm -f $(obj) $(bin)