Browse Source

Make the pi teaser program install.

master
Richard Kreckel 16 years ago
parent
commit
fcde23cb8e
  1. 5
      examples/Makefile.am
  2. 2
      examples/pi.cc

5
examples/Makefile.am

@ -1,4 +1,7 @@
noinst_PROGRAMS = contfrac e fibonacci legendre lucaslehmer nextprime perfnum pi
noinst_PROGRAMS = contfrac e fibonacci legendre lucaslehmer nextprime perfnum
bin_PROGRAMS = pi
dist_man_MANS = pi.1
contfrac_SOURCES = contfrac.cc contfrac_SOURCES = contfrac.cc

2
examples/pi.cc

@ -37,7 +37,7 @@ main (int argc, char * argv[])
<< ")" << endl; << ")" << endl;
cout << "Written by Bruno Haible and Richard B. Kreckel." << endl; cout << "Written by Bruno Haible and Richard B. Kreckel." << endl;
cout << endl; cout << endl;
cout << "Copyright (C) 1988-2008 Bruno Haible, 2000-2008 Richard B. Kreckel." << endl;
cout << "Copyright (C) 1988-2008 Bruno Haible, 2000-2009 Richard B. Kreckel." << endl;
cout << "This is free software; see the source for copying conditions. There is NO" << endl; cout << "This is free software; see the source for copying conditions. There is NO" << endl;
cout << "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." << endl; cout << "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." << endl;
cout << endl; cout << endl;

Loading…
Cancel
Save