amiga_cyberspace
view Makefile @ 1:b5d609c7161d
copper
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Wed, 26 Jul 2017 08:45:20 +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