summaryrefslogtreecommitdiff
path: root/numlib/Jamfile
diff options
context:
space:
mode:
Diffstat (limited to 'numlib/Jamfile')
-rw-r--r--numlib/Jamfile28
1 files changed, 28 insertions, 0 deletions
diff --git a/numlib/Jamfile b/numlib/Jamfile
new file mode 100644
index 0000000..dd90e22
--- /dev/null
+++ b/numlib/Jamfile
@@ -0,0 +1,28 @@
+
+# Jamfile for the numlib and other general utilities
+
+# Optization state and configuration. Overridden by parent-Jamfiles
+
+PREF_CCFLAGS = $(CCOPTFLAG) ; # Turn optimisation on
+#PREF_CCFLAGS = $(CCDEBUGFLAG) ; # Debugging flags
+PREF_LINKFLAGS = $(LINKDEBUGFLAG) ;
+#PREF_CCFLAGS = $(CCPROFFLAG) ; # Profile flags
+#PREF_LINKFLAGS = $(LINKPROFFLAG) ; # Profile flags
+
+# Products
+Libraries = libnum ;
+Headers = numlib.h ;
+
+#Install
+#InstallFile $(DESTDIR)$(PREFIX)/h : $(Headers) ;
+#InstallLib $(DESTDIR)$(PREFIX)/lib : $(Libraries) ;
+
+# Numeric library
+Library libnum.lib : numsup.c dnsq.c powell.c dhsx.c ludecomp.c svd.c zbrent.c rand.c sobol.c aatree.c ;
+
+# Link all utilities with libnum
+LINKLIBS = libnum ;
+
+# All test programs are made from a single source file
+MainsFromSources dnsqtest.c tpowell.c tdhsx.c LUtest.c svdtest.c zbrenttest.c soboltest.c ;
+