summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorLuca Barbieri <[email protected]>2010-09-23 16:21:14 +0200
committerLuca Barbieri <[email protected]>2010-09-23 16:21:14 +0200
commitbccd4eb824d32256dd0f9234df9ddf9ab5ed90fd (patch)
treeab51c400eb78812457f10308329eb3c8e3288e5a /src/gallium/state_trackers
parent36a64bfe541c1c8149db08c559e044dfd835c69a (diff)
d3d1x: add autogenerated files as prerequisites, so make builds them
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/d3d1x/d3d1xshader/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/d3d1x/d3d1xshader/Makefile b/src/gallium/state_trackers/d3d1x/d3d1xshader/Makefile
index 4f67145b6fa..3754c23983a 100644
--- a/src/gallium/state_trackers/d3d1x/d3d1xshader/Makefile
+++ b/src/gallium/state_trackers/d3d1x/d3d1xshader/Makefile
@@ -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 $^ > $@