source: trunk/tools/neercs/Makefile.am @ 1588

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

build: factor the LolFx compilation rule into configure.ac.

File size: 885 bytes
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 \
17                 @LOL_LIBS@ @PIPI_LIBS@ @CACA_LIBS@ @UTIL_LIBS@ @PAM_LIBS@
18neercs_DEPENDENCIES = $(top_builddir)/src/liblol.a
19
20if USE_CACA
21all-local: neercs$(EXEEXT)
22        test $(MAKE_FSELF) = no || make_fself neercs$(EXEEXT) neercs.self
23endif
24
25CLEANFILES = $(noinst_PROGRAMS:%$(EXEEXT)=%.self) \
26             $(noinst_PROGRAMS:%$(EXEEXT)=%.elf) \
27             $(noinst_PROGRAMS:%$(EXEEXT)=%.exe)
28
29SUFFIXES = .lolfx
30.lolfx.o:
31        $(LOLFX_BUILD)
32
Note: See TracBrowser for help on using the repository browser.