[makefile] create object dirs on windres (race condition)

Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
R4SAS 2021-08-07 01:38:35 +03:00
parent fcbc16f2fd
commit bef8587d8f
No known key found for this signature in database
GPG Key ID: 66F6C87B98EBCFE2

View File

@ -61,5 +61,5 @@ ifeq ($(USE_ASLR),yes)
LDFLAGS += -Wl,--nxcompat -Wl,--high-entropy-va -Wl,--dynamicbase,--export-all-symbols
endif
obj/%.o : %.rc
obj/%.o : %.rc | mk_obj_dir
$(WINDRES) -i $< -o $@