diff options
author | Daniel Harding <corrnondacqb@yahoo.com> | 2015-03-19 00:19:59 -0400 |
---|---|---|
committer | Daniel Harding <corrnondacqb@yahoo.com> | 2015-03-19 00:19:59 -0400 |
commit | ae198f05566310d64d201bc8e5b9b54f90c27b7b (patch) | |
tree | d5fe4e6cde4cfa6d37e1a9f04ee267c384b73f42 /Makefile | |
parent | 3c75edba47b89066383a4dae07d225cbc1cbff77 (diff) | |
parent | d41ad62f5bf43c98d05c593d5c64a5a42b7c0cee (diff) |
Merge pull request #6 from stag019/srcrgbgfx
Move source code into "src/". Update Makefile/scan_includes.
Diffstat (limited to 'Makefile')
-rwxr-xr-x | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |