You've already forked HackerSM64
mirror of
https://github.com/HackerN64/HackerSM64.git
synced 2026-01-21 10:35:32 -08:00
9 lines
320 B
Makefile
9 lines
320 B
Makefile
# Compress binary file
|
|
$(BUILD_DIR)/%.szp: $(BUILD_DIR)/%.bin
|
|
$(call print,Compressing:,$<,$@)
|
|
$(V)$(RNCPACK) p $< $@ -m2
|
|
|
|
# convert binary szp to object file
|
|
$(BUILD_DIR)/%.szp.o: $(BUILD_DIR)/%.szp
|
|
$(call print,Converting RNC2 to ELF:,$<,$@)
|
|
$(V)printf ".section .data\n\n.incbin \"$<\"\n" | $(AS) $(ASFLAGS) -o $@
|