Last change
on this file since 984 was
984,
checked in by sam, 11 years ago
|
test: add a 10-line example program that computes Pi to the 150th digit.
|
File size:
477 bytes
|
Line | |
---|
1 | |
---|
2 | AM_CPPFLAGS = -I$(top_srcdir)/src |
---|
3 | |
---|
4 | all-local: $(noinst_PROGRAMS) |
---|
5 | test x$(MAKE_FSELF) = xno || make_fself pi$(EXEEXT) pi.self |
---|
6 | |
---|
7 | CLEANFILES = $(noinst_PROGRAMS:%$(EXEEXT)=%.self) \ |
---|
8 | $(noinst_PROGRAMS:%$(EXEEXT)=%.elf) \ |
---|
9 | $(noinst_PROGRAMS:%$(EXEEXT)=%.exe) |
---|
10 | |
---|
11 | noinst_PROGRAMS = pi |
---|
12 | |
---|
13 | pi_SOURCES = pi.cpp |
---|
14 | pi_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@ |
---|
15 | pi_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@ |
---|
16 | pi_DEPENDENCIES = $(top_builddir)/src/liblol.a |
---|
17 | |
---|
Note: See
TracBrowser
for help on using the repository browser.