source: trunk/neercs/Makefile.am @ 1467

Last change on this file since 1467 was 1467, checked in by sam, 8 years ago

neercs: start working on direct rendering of libcaca canvases.

File size: 1.1 KB
Line 
1
2if USE_CACA
3noinst_PROGRAMS = neercs
4endif
5
6neercs_SOURCES = \
7    neercs.cpp neercs.h \
8    \
9    video/render.cpp video/render.h
10nodist_neercs_SOURCES = \
11    video/blurh.lolfx.cpp video/blurv.lolfx.cpp video/glow.lolfx.cpp \
12    video/postfx.lolfx.cpp video/radial.lolfx.cpp video/simple.lolfx.cpp \
13    video/text.lolfx.cpp
14neercs_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
15neercs_LDADD =
16neercs_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@ @CACA_LIBS@
17neercs_DEPENDENCIES = $(top_builddir)/src/liblol.a
18
19all-local: neercs$(EXEEXT)
20        test $(MAKE_FSELF) = no || make_fself neercs$(EXEEXT) neercs.self
21
22CLEANFILES = $(noinst_PROGRAMS:%$(EXEEXT)=%.self) \
23             $(noinst_PROGRAMS:%$(EXEEXT)=%.elf) \
24             $(noinst_PROGRAMS:%$(EXEEXT)=%.exe) \
25             $(filter %.lolfx.cpp, $(SOURCES))
26
27SUFFIXES = .lolfx
28%.lolfx.cpp: %.lolfx
29        echo "/* This file was autogenerated. DO NOT MODIFY IT. */" > $@.tmp
30        echo "char const *lolfx_$(notdir $(^:%.lolfx=%)) =" >> $@.tmp
31        $(SED) 's/"/\\"/g' $^ | $(SED) 's/\([^\r]*\).*/"\1\\n"/' >> $@.tmp
32        echo ";" >> $@.tmp
33        mv $@.tmp $@
34
Note: See TracBrowser for help on using the repository browser.