amiga_cyberspace

view Makefile @ 0:e6fd57053627

initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 25 Jul 2017 08:17:34 +0300
parents
children b5d609c7161d
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) data/backdrop2.img