diff options
author | astrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675> | 2009-04-30 06:09:59 +0000 |
---|---|---|
committer | astrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675> | 2009-04-30 06:09:59 +0000 |
commit | 8aa38a3185c61f60248bd99616a0ead6cd5f84c3 (patch) | |
tree | b68d82230d0ba0c9e6fd5e161dd90f6d5ba68905 /makefile | |
parent | fccbe113dfa498dbd2059429605c645087c194c9 (diff) | |
download | opt-utilities-8aa38a3185c61f60248bd99616a0ead6cd5f84c3.tar.bz2 |
git-svn-id: file:///home/svn/opt_utilities@35 ed2142bd-67ad-457f-ba7c-d818d4011675
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -13,8 +13,8 @@ OPT_HEADS=models/beta1d.hpp statistics/chisq.hpp models/lin1d.hpp\ LDL=-ldl -export CPP=g++ -export CC=gcc +#export CXX=g++ +#export CC=gcc export AR = ar rv export RANLIB = ranlib export RM=rm -f @@ -31,23 +31,23 @@ TARGET=liboptcall test_dl.so models/strmodel1d.o models/models.o all: $(TARGET) models/models.o:models/models.cc ${OPT_HEADS} - $(CPP) -c $< -o $@ ${INC} ${CPPFLAGS} + $(CXX) -c $< -o $@ ${INC} ${CPPFLAGS} version_ctrl.o:version_ctrl.cc - $(CPP) -c $< ${CPPFLAGS} + $(CXX) -c $< ${CPPFLAGS} bin/test.o:test.cc ${OPT_HEADS} - $(CPP) -c $< -o $@ ${INC} ${CPPFLAGS} --ansi + $(CXX) -c $< -o $@ ${INC} ${CPPFLAGS} --ansi test:${OPT_OBJ} bin/test.o - $(CPP) bin/test.o models/strmodel1d.o models/models.o version_ctrl.o -o $@ ${LIB} + $(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 - $(CPP) -c $< -o $@ -I./muparser $(INC) $(CPPFLAGS) + $(CXX) -c $< -o $@ -I./muparser $(INC) $(CPPFLAGS) libmuparser: |