You've already forked Microtransactions64
mirror of
https://github.com/Print-and-Panic/Microtransactions64.git
synced 2026-01-21 10:17:19 -08:00
9 lines
315 B
Makefile
9 lines
315 B
Makefile
|
|
# Compress binary file
|
||
|
|
$(BUILD_DIR)/%.szp: $(BUILD_DIR)/%.bin
|
||
|
|
$(call print,Compressing:,$<,$@)
|
||
|
|
$(V)$(MIO0TOOL) $< $@
|
||
|
|
|
||
|
|
# convert binary szp to object file
|
||
|
|
$(BUILD_DIR)/%.szp.o: $(BUILD_DIR)/%.szp
|
||
|
|
$(call print,Converting MIO0 to ELF:,$<,$@)
|
||
|
|
$(V)printf ".section .data\n\n.incbin \"$<\"\n" | $(AS) $(ASFLAGS) -o $@
|