spectrum_cmbrot

annotate Makefile @ 1:c2815c765fea

done
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 17 Feb 2014 11:00:23 +0200
parents e56d8b0eee4b
children 34f2fca9690b
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@1 7 CFLAGS = +zx -pragma-define=myzorg=28000 -O2
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)