[PATCH vkd3d] build: Create object directories before running bison or flex.

Zebediah Figura zfigura at codeweavers.com
Mon Dec 14 21:57:31 CST 2020


Vkd3d-Bug: https://bugs.winehq.org/show_bug.cgi?id=50334
Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
---
 Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index 32c8777f..bf1d7bfa 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -119,9 +119,11 @@ vkd3d_v_bison_0 = @echo "  BISON   " $@;
 vkd3d_v_bison_1 =
 
 libs/vkd3d-shader/preproc.yy.c: libs/vkd3d-shader/preproc.l
+	@$(MKDIR_P) libs/vkd3d-shader
 	$(VKD3D_V_FLEX)$(FLEX) $(LFLAGS) -o $@ $<
 
 libs/vkd3d-shader/preproc.tab.c libs/vkd3d-shader/preproc.tab.h &: libs/vkd3d-shader/preproc.y
+	@$(MKDIR_P) libs/vkd3d-shader
 	$(VKD3D_V_BISON)$(BISON) $(YFLAGS) -d -o libs/vkd3d-shader/preproc.tab.c $<
 
 BUILT_SOURCES += libs/vkd3d-shader/preproc.tab.h
-- 
2.29.2




More information about the wine-devel mailing list