
# 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 ;

