gb_test2
annotate 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 |
rev | line source |
---|---|
nuclear@0 | 1 src = test.asm |
nuclear@0 | 2 obj = test.o |
nuclear@0 | 3 bin = test |
nuclear@0 | 4 img = test.gb |
nuclear@0 | 5 |
nuclear@0 | 6 $(img): $(bin) |
nuclear@0 | 7 cp $< $@ |
nuclear@0 | 8 rgbfix -v -p 0 $@ |
nuclear@0 | 9 |
nuclear@0 | 10 $(bin): $(obj) |
nuclear@0 | 11 rgblink -o $@ $(obj) |
nuclear@0 | 12 |
nuclear@0 | 13 %.o: %.asm |
nuclear@0 | 14 rgbasm -o $@ $< |
nuclear@0 | 15 |
nuclear@0 | 16 test.o: test.asm sin.inc logo.tiles logo.tilemap |
nuclear@0 | 17 |
nuclear@0 | 18 .PHONY: clean |
nuclear@0 | 19 clean: |
nuclear@0 | 20 rm -f $(obj) $(bin) $(img) |
nuclear@0 | 21 |
nuclear@1 | 22 .PHONY: run |
nuclear@1 | 23 run: $(img) |
nuclear@1 | 24 sameboy $< |
nuclear@1 | 25 |
nuclear@0 | 26 logo.tiles: logo.png |
nuclear@0 | 27 rgbgfx -T -u -o $@ $< |
nuclear@0 | 28 |
nuclear@1 | 29 sin.inc: gensine |
nuclear@0 | 30 ./gensine >$@ |