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] $@)