1LIBNAME=d3d1xshader
2CPP_SOURCES=$(wildcard src/*.cpp) src/sm4_text.cpp
3LIBRARY_INCLUDES=-Iinclude -I../d3dapi -I../w32api
4PROGS=tools/fxdis
5PROGS_DEPS=libd3d1xshader.a
6LIBS=$(PROGS_DEPS)
7
8include ../Makefile.inc
9
10include/sm4.h: include/sm4_defs.h
11
12include/sm4_defs.h: $(wildcard defs/*.txt)
13	./gen-header.sh $^ > $@
14
15src/sm4_text.cpp: $(wildcard defs/*.txt)
16	./gen-text.sh $^ > $@
17