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

Last change on this file since 984 was 984, checked in by sam, 9 years ago

test: add a 10-line example program that computes Pi to the 150th digit.

File size: 477 bytes
Line 
1
2AM_CPPFLAGS = -I$(top_srcdir)/src
3
4all-local: $(noinst_PROGRAMS)
5        test x$(MAKE_FSELF) = xno || make_fself pi$(EXEEXT) pi.self
6
7CLEANFILES = $(noinst_PROGRAMS:%$(EXEEXT)=%.self) \
8             $(noinst_PROGRAMS:%$(EXEEXT)=%.elf) \
9             $(noinst_PROGRAMS:%$(EXEEXT)=%.exe)
10
11noinst_PROGRAMS = pi
12
13pi_SOURCES = pi.cpp
14pi_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
15pi_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
16pi_DEPENDENCIES = $(top_builddir)/src/liblol.a
17
Note: See TracBrowser for help on using the repository browser.