You've already forked HackerSM64
mirror of
https://github.com/HackerN64/HackerSM64.git
synced 2026-01-21 10:35:32 -08:00
* compression: added racing DMA LZ4 & LZ4T implementations * debug: added reworked level load time measurement * Get rid of LZ4, updated LZ4T to latest version * lz4t: remove LIKELY/UNLIKLELY use, optimized slow decompressor for size * lz4t: remove pointless goto * lz4t: remove function macros, use static inlines instead * perf: rework measurements for level loads to be more accurate * perf: avoid hardcoded constants in time calculations
10 lines
275 B
Makefile
10 lines
275 B
Makefile
# Compress binary file
|
|
$(BUILD_DIR)/%.szp: $(BUILD_DIR)/%.bin
|
|
$(call print,Compressing:,$<,$@)
|
|
$(V)$(LZ4TPACK) $< $@
|
|
|
|
# convert binary szp to object file
|
|
$(BUILD_DIR)/%.szp.o: $(BUILD_DIR)/%.szp
|
|
$(call print,Converting LZ4T to ELF:,$<,$@)
|
|
$(V)$(LD) -r -b binary $< -o $@
|