From c32d1551c8d22ac8a19ac492022f0d83cf8dcff5 Mon Sep 17 00:00:00 2001 From: Quinn Date: Mon, 15 Sep 2025 11:44:32 +0200 Subject: [PATCH] fix: regular `xxd` does not have `-n`, thus using some argument manipulation magic On my main system I use `tinyxxd`, henceforth: "regular" --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index cc2c0dc..7986e46 100644 --- a/Makefile +++ b/Makefile @@ -75,7 +75,7 @@ bin/TEST_$(NAME): $(TOBJ) $(filter-out obj/src/main.o,$(OBJ)) obj/res/%.c: res/% $(info [XXD] $@) @mkdir -p $(@D) - @xxd -i -n $(patsubst res/%,%,$<) $< $@ + @cd res/ && xxd -i $(patsubst res/%,%,$<) $(abspath $@) obj/res/%.o: obj/res/%.c $(info [CC] $@)