summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 6716936..d45f7f8 100644
--- a/Makefile
+++ b/Makefile
@@ -65,10 +65,9 @@ linkerscript: $(ROM:.gb=-gen.link)
%.map: %.gb
$(CORRECTEDROM): %-correctheader.gb: %.gb
- $(RGBASM) $(RGBASMFLAGS) -o $(BUILD)/zero_checksum.o zero_checksum.asm
- $(RGBLINK) -O $< -o $@ $(BUILD)/zero_checksum.o
- $(RGBFIX) -f hg -m 0x10 $@
+ cp $< $@
cp $(<:.gb=.sym) $(@:.gb=.sym)
+ $(RGBFIX) -f hg -m 0x10 $@
$(ROM): poke%-spaceworld.gb: $(OBJS) | $(BASEROM)
$(RGBLINK) -d -n $(@:.gb=.sym) -m $(@:.gb=.map) -l $(@:.gb=.link) -O $(BASEROM) -o $@ $^