amiga_cyberspace

view Makefile @ 3:200e512488e4

reduced sky copperlist, works on emulator only apparently
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 27 Jul 2017 10:42:36 +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