gb_test2
annotate Makefile @ 0:cacfa0888410
initial commit
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 10 Jan 2019 04:16:47 +0200 |
parents | |
children | d63782badb6b |
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@0 | 22 logo.tiles: logo.png |
nuclear@0 | 23 rgbgfx -T -u -o $@ $< |
nuclear@0 | 24 |
nuclear@0 | 25 sin.inc: |
nuclear@0 | 26 ./gensine >$@ |