source: trunk/neercs/Makefile.am @ 1499

Last change on this file since 1499 was 1499, checked in by sam, 11 years ago

neercs: move TextRender to its own file.

File size: 1.0 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 \
10    video/text-render.cpp video/text-render.h \
11    video/blurh.lolfx video/blurv.lolfx video/glow.lolfx \
12    video/postfx.lolfx video/radial.lolfx video/simple.lolfx \
13    video/text.lolfx
14neercs_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@ @CACA_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
26SUFFIXES = .lolfx
27.lolfx.o:
28        (echo "char const *"; \
29         echo "lolfx_$(notdir $(basename $(filter %.lolfx, $^))) ="; \
30         $(SED) 's/"/\\"/g' $(filter %.lolfx, $^) | \
31         $(SED) 's/\([^\r]*\).*/"\1\\n"/'; \
32         echo ";") | $(CXXCOMPILE) -xc++ -c - -o $@
33
Note: See TracBrowser for help on using the repository browser.