summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 3cb79c0..6b2e814 100755
--- a/Makefile
+++ b/Makefile
@@ -28,8 +28,8 @@ $(OBJS): $$*.asm $$($$*_dep)
@$(PYTHON) $(PRET)/pcm.py pcm $(pcmq)
rgbasm -h -o $@ $<
-$(ROM): $(OBJS)
- rgblink -n $(ROM:.gbc=.sym) -m $(ROM:.gbc=.map) -o $@ $^
+$(ROM): $(OBJS) contents/contents.link
+ rgblink -n $(ROM:.gbc=.sym) -m $(ROM:.gbc=.map) -l contents/contents.link -o $@ $(OBJS)
rgbfix -jsvc -k 01 -l 0x33 -m 0x1e -p 0 -r 02 -t "POKEPINBALL" -i VPHE $@
# For contributors to make sure a change didn't affect the contents of the rom.
@@ -38,7 +38,7 @@ compare: $(ROM)
# Remove files generated by the build process.
tidy:
- rm -f $(ROM) $(OBJS) $(ROM:.gbc=.sym)
+ rm -f $(ROM) $(OBJS) $(ROM:.gbc=.sym) $(ROM:.gbc=.map)
clean: tidy
find . \( -iname '*.1bpp' -o -iname '*.2bpp' -o -iname '*.pcm' \) -exec rm {} +