fix: obj/res/ path did not create a directory, so likely failed to place anything there.

This commit is contained in:
2025-09-13 21:17:07 +02:00
parent f481af7e78
commit 997b15c640

View File

@@ -74,6 +74,7 @@ bin/TEST_$(NAME): $(TOBJ) $(filter-out main.o,$(OBJ))
obj/res/%.o: res/% obj/res/%.o: res/%
$(info [LD] $@) $(info [LD] $@)
@mkdir -p $(@D)
@$(LD) -r -b binary -o $@ $< @$(LD) -r -b binary -o $@ $<
obj/%.o: %.c obj/%.o: %.c