diff options
Diffstat (limited to 'src/vulkan/Makefile.am')
-rw-r--r-- | src/vulkan/Makefile.am | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/vulkan/Makefile.am b/src/vulkan/Makefile.am index af2cde5dbbe..8b53a089615 100644 --- a/src/vulkan/Makefile.am +++ b/src/vulkan/Makefile.am @@ -62,8 +62,20 @@ libvulkan_la_SOURCES = \ image.c \ meta.c \ intel.c \ + entrypoints.c \ + entrypoints.h \ compiler.cpp +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.c : $(vulkan_include_HEADERS) vk_gen.py + $(AM_V_GEN)cat $(vulkan_include_HEADERS) | $(PYTHON2) vk_gen.py code > $@ + +CLEANFILES = entrypoints.h entrypoints.c + bin_PROGRAMS = vk vk_SOURCES = vk.c |