gb_test1
diff Makefile @ 0:1b77ae3b7c5f
initial commit
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 03 Jan 2019 08:20:10 +0200 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/Makefile Thu Jan 03 08:20:10 2019 +0200 1.3 @@ -0,0 +1,18 @@ 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 +.PHONY: clean 1.20 +clean: 1.21 + rm -f $(obj) $(bin) $(img)