Makefile: fix parallel builds

The parent directory wasn't created when generating the .pc file,
causing it to fail in highly parallel builds.
This commit is contained in:
Wessel Dankers
2022-08-05 13:13:21 +02:00
committed by Tor Andersson
parent 3451b6ca96
commit 1cbf19e7a9
+1
View File
@@ -100,6 +100,7 @@ $(OUT)/mujs-pp: $(OUT)/libmujs.o $(OUT)/pp.o
.PHONY: $(OUT)/mujs.pc
$(OUT)/mujs.pc:
@ mkdir -p $(dir $@)
@ echo Creating $@
@ echo > $@ Name: mujs
@ echo >> $@ Description: MuJS embeddable Javascript interpreter