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