spectrum_cmbrot
annotate Makefile @ 0:e56d8b0eee4b
spectrum fractal :)
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 17 Feb 2014 10:17:17 +0200 |
parents | |
children | c2815c765fea |
rev | line source |
---|---|
nuclear@0 | 1 src = test.c |
nuclear@0 | 2 obj = $(src:.c=.o) |
nuclear@0 | 3 |
nuclear@0 | 4 bin = test.tap |
nuclear@0 | 5 |
nuclear@0 | 6 CC = zcc |
nuclear@0 | 7 CFLAGS = +zx -pragma-define=myzorg=28000 |
nuclear@0 | 8 LDFLAGS = -create-app |
nuclear@0 | 9 |
nuclear@0 | 10 $(bin): $(obj) |
nuclear@0 | 11 rm -f $(bin) |
nuclear@0 | 12 $(CC) $(CFLAGS) -o $@ $(LDFLAGS) $(obj) |
nuclear@0 | 13 |
nuclear@0 | 14 .PHONY: clean |
nuclear@0 | 15 clean: |
nuclear@0 | 16 rm -f $(obj) $(bin) |