diff options
author | Scott Norton <ssn33@vpn17225138148.its.yale.internal> | 2020-04-28 16:47:28 -0400 |
---|---|---|
committer | Scott Norton <ssn33@vpn17225138148.its.yale.internal> | 2020-04-28 16:47:28 -0400 |
commit | 0424ad3e86ee2bd5ebb57bcbea93fd5390ea3601 (patch) | |
tree | 9f19b80aad11cf292db9e5bbc982f190b6e6a8b6 /arm7/Makefile | |
parent | 7c3d1b806b0b09f15ae780f36ba95abb14d63880 (diff) |
BROKEN: makelcf primitive state
Diffstat (limited to 'arm7/Makefile')
-rw-r--r-- | arm7/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arm7/Makefile b/arm7/Makefile index c2e69fe2..cdf09c74 100644 --- a/arm7/Makefile +++ b/arm7/Makefile @@ -144,11 +144,9 @@ $(BUILD_DIR)/%.o: %.s $(BUILD_DIR)/$(LD_SCRIPT): $(LD_SCRIPT) undefined_syms.txt $(CPP) $(VERSION_CFLAGS) -MMD -MP -MT $@ -MF $@.d -I include/ -I . -DBUILD_DIR=$(BUILD_DIR) -o $@ $< -$(ELF): $(O_FILES) $(BUILD_DIR)/$(LD_SCRIPT) +$(ROM): $(O_FILES) $(BUILD_DIR)/$(LD_SCRIPT) $(LD) $(LDFLAGS) $(BUILD_DIR)/$(LD_SCRIPT) -o $(ELF) $(O_FILES) - -$(ROM): $(ELF) - $(OBJCOPY) -O binary --gap-fill=0xFF $< $@ + cp $(ROM:%.bin=%.sbin) $@ # Make sure build directory exists before compiling anything DUMMY != mkdir -p $(ALL_DIRS) |