vk: Fix for out-of-tree builds
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 21 May 2015 17:23:18 +0000 (10:23 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 21 May 2015 17:23:18 +0000 (10:23 -0700)
src/vulkan/Makefile.am

index 404af61bcb1271e5faf19c08b00297139d86956e..7543cfcc159d7461c4381a068f1e29c43156a760 100644 (file)
@@ -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