summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-05-21 10:23:18 -0700
committerJason Ekstrand <[email protected]>2015-05-21 10:23:18 -0700
commitf294154e42571c996a595df02f1aaa617cd3b410 (patch)
tree845ae239fe4ea232a3cb8d3e8af42ccfa052a2cd /src
parentf9e66ea62111ffaba4a2b0307b8a5e29c2b8368a (diff)
vk: Fix for out-of-tree builds
Diffstat (limited to 'src')
-rw-r--r--src/vulkan/Makefile.am8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vulkan/Makefile.am b/src/vulkan/Makefile.am
index 404af61bcb1..7543cfcc159 100644
--- a/src/vulkan/Makefile.am
+++ b/src/vulkan/Makefile.am
@@ -71,11 +71,11 @@ libvulkan_la_SOURCES = \
BUILT_SOURCES = entrypoints.h entrypoints.c
-entrypoints.h : $(vulkan_include_HEADERS) vk_gen.py
- $(AM_V_GEN)cat $(vulkan_include_HEADERS) | $(PYTHON2) vk_gen.py header > $@
+entrypoints.h : vk_gen.py $(vulkan_include_HEADERS)
+ $(AM_V_GEN)cat $(vulkan_include_HEADERS) | $(PYTHON2) $< header > $@
-entrypoints.c : $(vulkan_include_HEADERS) vk_gen.py
- $(AM_V_GEN)cat $(vulkan_include_HEADERS) | $(PYTHON2) vk_gen.py code > $@
+entrypoints.c : vk_gen.py $(vulkan_include_HEADERS)
+ $(AM_V_GEN)cat $(vulkan_include_HEADERS) | $(PYTHON2) $< code > $@
CLEANFILES = entrypoints.h entrypoints.c