Files
HackerSM64/compression/rnc2rules.mk
axollyon 854da9c9b1 2.1.0 Lighting Engine (#495)
Updated lighting engine to 2.1.0 (latest version as of 9/22/22)
2022-09-22 18:07:21 -04:00

9 lines
279 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)$(LD) -r -b binary $< -o $@