mirror of
https://github.com/pmret/papermario.git
synced 2024-11-09 12:32:38 +01:00
Better makefile
This commit is contained in:
parent
e36fd039cf
commit
d983838ede
@ -39,7 +39,7 @@ default: all
|
||||
MAKEFILE_SPLIT = Makefile.split
|
||||
include $(MAKEFILE_SPLIT)
|
||||
|
||||
all: $(TARGET).z64
|
||||
all: fix_asm $(TARGET).z64
|
||||
|
||||
clean:
|
||||
rm -rf build
|
||||
@ -66,6 +66,9 @@ $(BUILD_DIR)/$(TARGET).bin: $(BUILD_DIR)/$(TARGET).elf
|
||||
$(TARGET).z64: $(BUILD_DIR)/$(TARGET).bin
|
||||
$(N64CKSUM) $< $@
|
||||
|
||||
fix_asm:
|
||||
./fix_asm.py
|
||||
|
||||
$(BUILD_DIR)/$(TARGET).hex: $(TARGET).z64
|
||||
xxd $< > $@
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user