vk: Make `make clean` remove generated spirv headers
authorChad Versace <chad.versace@intel.com>
Thu, 4 Jun 2015 21:26:03 +0000 (14:26 -0700)
committerChad Versace <chad.versace@intel.com>
Thu, 4 Jun 2015 21:26:46 +0000 (14:26 -0700)
src/vulkan/Makefile.am

index f8517053f4ff745f3779a6e96d35c49af2e2f83b..6d10f84adf4baa67ec36588d499aaf884e4f64f6 100644 (file)
@@ -85,7 +85,7 @@ entrypoints.c : vk_gen.py $(vulkan_include_HEADERS)
 %-spirv.h: %.c glsl_scraper.py
        $(AM_V_GEN) $(PYTHON2) $(srcdir)/glsl_scraper.py --glsl-only -o $@ $<
 
-CLEANFILES = entrypoints.h entrypoints.c
+CLEANFILES = $(BUILT_SOURCES)
 
 libvulkan_la_LIBADD = -lxcb -lxcb-dri3 \
        $(top_builddir)/src/mesa/drivers/dri/i965/libi965_compiler.la