mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-17 06:15:47 +01:00
fix: regular xxd does not have -n, thus using some argument manipulation magic
On my main system I use `tinyxxd`, henceforth: "regular"
This commit is contained in:
2
Makefile
2
Makefile
@@ -75,7 +75,7 @@ bin/TEST_$(NAME): $(TOBJ) $(filter-out obj/src/main.o,$(OBJ))
|
|||||||
obj/res/%.c: res/%
|
obj/res/%.c: res/%
|
||||||
$(info [XXD] $@)
|
$(info [XXD] $@)
|
||||||
@mkdir -p $(@D)
|
@mkdir -p $(@D)
|
||||||
@xxd -i -n $(patsubst res/%,%,$<) $< $@
|
@cd res/ && xxd -i $(patsubst res/%,%,$<) $(abspath $@)
|
||||||
|
|
||||||
obj/res/%.o: obj/res/%.c
|
obj/res/%.o: obj/res/%.c
|
||||||
$(info [CC] $@)
|
$(info [CC] $@)
|
||||||
|
|||||||
Reference in New Issue
Block a user