diff options
author | astrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675> | 2009-12-29 03:33:49 +0000 |
---|---|---|
committer | astrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675> | 2009-12-29 03:33:49 +0000 |
commit | e0ef5de9b8add735ed7fc05f5409dd5b2a248782 (patch) | |
tree | b188fe70ed0248ff4cf5d669b3e2a711242dd1c0 /makefile | |
parent | fe2c7e6194e0d8dda9356e7d8514cc1089704325 (diff) | |
download | opt-utilities-e0ef5de9b8add735ed7fc05f5409dd5b2a248782.tar.bz2 |
git-svn-id: file:///home/svn/opt_utilities@106 ed2142bd-67ad-457f-ba7c-d818d4011675
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/makefile b/makefile deleted file mode 100644 index bd59956..0000000 --- a/makefile +++ /dev/null @@ -1,63 +0,0 @@ -OPT_HEADS=models/beta1d.hpp statistics/chisq.hpp models/lin1d.hpp\ - models/pl1d.hpp models/bl1d.hpp\ - statistics/leastsq.hpp\ - core/fitter.hpp models/models.hpp\ - core/opt_traits.hpp\ - methods/powell/powell_method.hpp models/bpl1d.hpp\ - core/freeze_param.hpp\ - models/gauss1d.hpp core/optimizer.hpp\ - misc/bootstrap.hpp\ - interface/optdl.hpp\ - models/mul_model.hpp\ - models/add_model.hpp\ - -LDL=-ldl - -#export CXX=g++ -#export CC=gcc -export AR = ar rv -export RANLIB = ranlib -export RM=rm -f -export CCFLAGS=-DNDEBUG -ansi -pedantic -g -O2 -Wall -c -I . -g -export CXXFLAGS=-DNDEBUG -ansi -pedantic -g -O2 -Wall -c -I . -g - - -INC=-I. -I/usr/include/gsl/ -LIB=-lgsl -lgslcblas -OPT_OBJ=models/models.o version_ctrl.o models/strmodel1d.o - -TARGET=liboptcall test_dl.so models/strmodel1d.o models/models.o - -all: $(TARGET) - -models/models.o:models/models.cc ${OPT_HEADS} - $(CXX) -c $< -o $@ ${INC} ${CXXFLAGS} - -version_ctrl.o:version_ctrl.cc - $(CXX) -c $< ${CXXFLAGS} - -bin/test.o:test.cc ${OPT_HEADS} - $(CXX) -c $< -o $@ ${INC} ${CXXFLAGS} --ansi - -test:${OPT_OBJ} bin/test.o - $(CXX) bin/test.o models/strmodel1d.o models/models.o version_ctrl.o -o $@ ${LIB} - -test_dl.so:models/dlmodel_template.c - $(CC) $< --shared -o $@ - - -models/strmodel1d.o:models/strmodel1d.cc models/strmodel1d.hpp - $(CXX) -c $< -o $@ $(CXXFLAGS) - - -liboptcall: - make -C interface - -clean: - rm -f `find .|grep \~` - rm -f `find .|grep '\.o'` - make -C interface clean - -distclean:clean - rm -f `find . -iname *.a` - rm -f $(TARGET) |