gb_test2

view Makefile @ 1:d63782badb6b

nicer distortion
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 10 Jan 2019 04:47:42 +0200
parents cacfa0888410
children 216bdbc75cf4
line source
1 src = test.asm
2 obj = test.o
3 bin = test
4 img = test.gb
6 $(img): $(bin)
7 cp $< $@
8 rgbfix -v -p 0 $@
10 $(bin): $(obj)
11 rgblink -o $@ $(obj)
13 %.o: %.asm
14 rgbasm -o $@ $<
16 test.o: test.asm sin.inc logo.tiles logo.tilemap
18 .PHONY: clean
19 clean:
20 rm -f $(obj) $(bin) $(img)
22 .PHONY: run
23 run: $(img)
24 sameboy $<
26 logo.tiles: logo.png
27 rgbgfx -T -u -o $@ $<
29 sin.inc: gensine
30 ./gensine >$@