mirror of https://github.com/pmret/papermario.git
add papermario.ld generation in Makefile
This commit is contained in:
parent
3aa854c0c5
commit
2894943eef
6
Makefile
6
Makefile
|
@ -59,7 +59,7 @@ default: all
|
||||||
|
|
||||||
LD_SCRIPT = $(TARGET).ld
|
LD_SCRIPT = $(TARGET).ld
|
||||||
|
|
||||||
all: $(BUILD_DIR) $(TARGET).z64 verify
|
all: papermario.ld $(BUILD_DIR) $(TARGET).z64 verify
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf $(BUILD_DIR) $(TARGET).z64
|
rm -rf $(BUILD_DIR) $(TARGET).z64
|
||||||
|
@ -70,7 +70,7 @@ submodules:
|
||||||
split:
|
split:
|
||||||
rm -rf $(DATA_DIRS) && ./tools/n64splat/split.py baserom.z64 tools/splat.yaml .
|
rm -rf $(DATA_DIRS) && ./tools/n64splat/split.py baserom.z64 tools/splat.yaml .
|
||||||
|
|
||||||
splitld: tools/splat.yaml
|
papermario.ld: tools/splat.yaml
|
||||||
./tools/n64splat/split.py baserom.z64 tools/splat.yaml . --modes ld
|
./tools/n64splat/split.py baserom.z64 tools/splat.yaml . --modes ld
|
||||||
|
|
||||||
setup: clean submodules split
|
setup: clean submodules split
|
||||||
|
@ -103,4 +103,4 @@ $(TARGET).z64: $(BUILD_DIR)/$(TARGET).bin
|
||||||
verify: $(TARGET).z64
|
verify: $(TARGET).z64
|
||||||
sha1sum -c checksum.sha1
|
sha1sum -c checksum.sha1
|
||||||
|
|
||||||
.PHONY: all clean default diff test
|
.PHONY: all clean default
|
||||||
|
|
Loading…
Reference in New Issue