|
|
@@ -45,8 +45,19 @@ liblol_a_SOURCES = \ |
|
|
|
debug/fps.cpp debug/fps.h debug/sphere.cpp debug/sphere.h \ |
|
|
|
debug/record.cpp debug/record.h debug/stats.cpp debug/stats.h \ |
|
|
|
debug/quad.cpp debug/quad.h |
|
|
|
nodist_liblol_a_SOURCES = \ |
|
|
|
gpu/defaultmaterial.lolfx.cpp \ |
|
|
|
gpu/emptymaterial.lolfx.cpp |
|
|
|
liblol_a_CPPFLAGS = @LOL_CFLAGS@ |
|
|
|
|
|
|
|
SUFFIXES = .lolfx |
|
|
|
%.lolfx.cpp: %.lolfx |
|
|
|
echo "/* This file was autogenerated. DO NOT MODIFY IT. */" > $@.tmp |
|
|
|
echo "char const *lolfx_$(notdir $(^:%.lolfx=%)) =" >> $@.tmp |
|
|
|
$(SED) 's/"/\\"/g' $^ | $(SED) 's/.*/"&"/' >> $@.tmp |
|
|
|
echo ";" >> $@.tmp |
|
|
|
mv $@.tmp $@ |
|
|
|
|
|
|
|
sdl_sources = \ |
|
|
|
image/codec/sdl-image.cpp \ |
|
|
|
platform/sdl/sdlapp.cpp platform/sdl/sdlapp.h \ |
|
|
|