summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Harding <corrnondacqb@yahoo.com>2015-03-19 00:19:59 -0400
committerDaniel Harding <corrnondacqb@yahoo.com>2015-03-19 00:19:59 -0400
commitae198f05566310d64d201bc8e5b9b54f90c27b7b (patch)
treed5fe4e6cde4cfa6d37e1a9f04ee267c384b73f42 /Makefile
parent3c75edba47b89066383a4dae07d225cbc1cbff77 (diff)
parentd41ad62f5bf43c98d05c593d5c64a5a42b7c0cee (diff)
Merge pull request #6 from stag019/srcrgbgfx
Move source code into "src/". Update Makefile/scan_includes.
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e8d3827..b4c8b5a 100755
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@
.SUFFIXES: .asm .o .gbc .png .2bpp .1bpp .pal
.SECONDEXPANSION:
-OBJS = main.o gfx.o text.o audio.o wram.o
+OBJS = src/main.o src/gfx.o src/text.o src/audio.o src/wram.o
$(foreach obj, $(OBJS), \
$(eval $(obj:.o=)_dep = $(shell python extras/scan_includes.py $(obj:.o=.asm))) \
@@ -16,7 +16,7 @@ compare: baserom.gbc tcg.gbc
cmp baserom.gbc tcg.gbc
$(OBJS): $$*.asm $$($$*_dep)
- rgbasm -o $@ $<
+ rgbasm -i src/ -o $@ $<
tcg.gbc: $(OBJS)
rgblink -n $*.sym -o $@ $(OBJS)