From: Jason Ekstrand Date: Thu, 21 May 2015 17:23:18 +0000 (-0700) Subject: vk: Fix for out-of-tree builds X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f294154e42571c996a595df02f1aaa617cd3b410;p=mesa.git vk: Fix for out-of-tree builds --- 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