d3d1x: add autogenerated files as prerequisites, so make builds them
authorLuca Barbieri <luca@luca-barbieri.com>
Thu, 23 Sep 2010 14:21:14 +0000 (16:21 +0200)
committerLuca Barbieri <luca@luca-barbieri.com>
Thu, 23 Sep 2010 14:21:14 +0000 (16:21 +0200)
src/gallium/state_trackers/d3d1x/d3d1xshader/Makefile

index 4f67145b6faae366fb1590302726db58e8b29cbc..3754c23983ad7e8ba38f9cbe763eed218e57daa4 100644 (file)
@@ -1,11 +1,13 @@
 LIBNAME=d3d1xshader
-CPP_SOURCES=$(wildcard src/*.cpp)
+CPP_SOURCES=$(wildcard src/*.cpp) src/sm4_text.cpp
 LIBRARY_INCLUDES=-Iinclude -I../d3dapi -I../w32api
 PROGS=tools/fxdis
 LIBS=libd3d1xshader.a
 
 include ../Makefile.inc
 
+include/sm4.h: include/sm4_defs.h
+
 include/sm4_defs.h: $(wildcard defs/*.txt)
        ./gen-header.sh $^ > $@