source: trunk/neercs/Makefile.am @ 1505

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

build: add more configure checks, mostly for neercs.

File size: 1.0 KB
RevLine 
[1447]1
[1462]2if USE_CACA
[1447]3noinst_PROGRAMS = neercs
[1462]4endif
[1447]5
6neercs_SOURCES = \
7    neercs.cpp neercs.h \
8    \
[1479]9    video/render.cpp video/render.h \
[1499]10    video/text-render.cpp video/text-render.h \
[1479]11    video/blurh.lolfx video/blurv.lolfx video/glow.lolfx \
12    video/postfx.lolfx video/radial.lolfx video/simple.lolfx \
13    video/text.lolfx
[1485]14neercs_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@ @CACA_CFLAGS@
[1447]15neercs_LDADD =
[1505]16neercs_LDFLAGS = $(top_builddir)/src/liblol.a \
17                 @LOL_LIBS@ @PIPI_LIBS@ @CACA_LIBS@ @UTIL_LIBS@ @PAM_LIBS@
[1447]18neercs_DEPENDENCIES = $(top_builddir)/src/liblol.a
19
20all-local: neercs$(EXEEXT)
21        test $(MAKE_FSELF) = no || make_fself neercs$(EXEEXT) neercs.self
22
23CLEANFILES = $(noinst_PROGRAMS:%$(EXEEXT)=%.self) \
24             $(noinst_PROGRAMS:%$(EXEEXT)=%.elf) \
[1479]25             $(noinst_PROGRAMS:%$(EXEEXT)=%.exe)
[1447]26
27SUFFIXES = .lolfx
[1479]28.lolfx.o:
29        (echo "char const *"; \
30         echo "lolfx_$(notdir $(basename $(filter %.lolfx, $^))) ="; \
31         $(SED) 's/"/\\"/g' $(filter %.lolfx, $^) | \
32         $(SED) 's/\([^\r]*\).*/"\1\\n"/'; \
33         echo ";") | $(CXXCOMPILE) -xc++ -c - -o $@
[1447]34
Note: See TracBrowser for help on using the repository browser.