gb_test2
diff Makefile @ 0:cacfa0888410
initial commit
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 10 Jan 2019 04:16:47 +0200 |
parents | |
children | d63782badb6b |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/Makefile Thu Jan 10 04:16:47 2019 +0200 1.3 @@ -0,0 +1,26 @@ 1.4 +src = test.asm 1.5 +obj = test.o 1.6 +bin = test 1.7 +img = test.gb 1.8 + 1.9 +$(img): $(bin) 1.10 + cp $< $@ 1.11 + rgbfix -v -p 0 $@ 1.12 + 1.13 +$(bin): $(obj) 1.14 + rgblink -o $@ $(obj) 1.15 + 1.16 +%.o: %.asm 1.17 + rgbasm -o $@ $< 1.18 + 1.19 +test.o: test.asm sin.inc logo.tiles logo.tilemap 1.20 + 1.21 +.PHONY: clean 1.22 +clean: 1.23 + rm -f $(obj) $(bin) $(img) 1.24 + 1.25 +logo.tiles: logo.png 1.26 + rgbgfx -T -u -o $@ $< 1.27 + 1.28 +sin.inc: 1.29 + ./gensine >$@