amiga_cyberspace

view Makefile @ 4:12ec766e435c

enabling all interrupts was stupid, and would crash the real amiga.
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 30 Jul 2017 14:24:00 +0300
parents e6fd57053627
children
line source
1 csrc = $(wildcard src/*.c)
2 ssrc = $(wildcard src/*.s)
3 obj = $(csrc:.c=.o) $(ssrc:.s=.o)
4 img = data/backdrop2.img
5 bin = cyberspace
7 CC = vc
8 LDFLAGS = -lamiga
10 $(bin): $(img) $(obj)
11 $(CC) -o $@ $(obj) $(LDFLAGS)
13 %.o: %.s
14 $(CC) $(ASFLAGS) -o $@ -c $<
16 data/backdrop2.img: data/backdrop2.ilbm
17 lbm2bin -i -4 -v -c 480x128 $<
19 .PHONY: clean
20 clean:
21 rm -f $(obj) $(bin)
22 #data/backdrop2.img