source: trunk/test/math/Makefile.am @ 1923

Last change on this file since 1923 was 1923, checked in by sam, 7 years ago

build: add a common.am include file and a "make lolcheck" target that does
nothing for now except ensure that every makefile includes common.am.

File size: 1.0 KB
Line 
1
2include $(top_srcdir)/build/autotools/common.am
3
4AM_CPPFLAGS = -I$(top_srcdir)/src
5
6all-local: $(PROGRAMS) $(noinst_PROGRAMS)
7        for x in $(^:%$(EXEEXT)=%); do \
8          test x$(MAKE_FSELF) = xno || make_fself $${x}$(EXEEXT) $${x}.self; \
9        done
10
11EXTRA_DIST = NEWS.txt lolremez.sln remez.vcxproj remez.vcxproj.filters
12
13CLEANFILES = $(noinst_PROGRAMS:%$(EXEEXT)=%.self) \
14             $(noinst_PROGRAMS:%$(EXEEXT)=%.elf) \
15             $(noinst_PROGRAMS:%$(EXEEXT)=%.exe)
16
17noinst_PROGRAMS = pi poly remez
18
19pi_SOURCES = pi.cpp
20pi_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
21pi_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
22pi_DEPENDENCIES = $(top_builddir)/src/liblol.a
23
24poly_SOURCES = poly.cpp
25poly_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
26poly_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
27poly_DEPENDENCIES = $(top_builddir)/src/liblol.a
28
29remez_SOURCES = remez.cpp
30remez_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
31remez_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
32remez_DEPENDENCIES = $(top_builddir)/src/liblol.a
33
Note: See TracBrowser for help on using the repository browser.