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