aboutsummaryrefslogtreecommitdiffstats
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/makefile b/makefile
index 71e6681..ee38e29 100644
--- a/makefile
+++ b/makefile
@@ -18,12 +18,12 @@ LDL=-ldl
export AR = ar rv
export RANLIB = ranlib
export RM=rm -f
-export CCFLAGS=-DNDEBUG -ansi -pedantic -g -O2 -Wall -c -I .
-export CXXFLAGS=-DNDEBUG -ansi -pedantic -g -O2 -Wall -c -I . -DHAVE_X_ERROR
+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= -L./muparser $(LDL) -lmuparser -g -lgsl -lgslcblas
+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
@@ -47,20 +47,15 @@ test_dl.so:models/dlmodel_template.c
models/strmodel1d.o:models/strmodel1d.cc models/strmodel1d.hpp
- $(CXX) -c $< -o $@ -I./muparser $(INC) $(CXXFLAGS)
+ $(CXX) -c $< -o $@ $(CXXFLAGS)
-libmuparser:
- make -C muparser
-
liboptcall:
make -C interface
clean:
rm -f `find .|grep \~`
rm -f `find .|grep '\.o'`
- rm -f muparser/libmuparser.a
- make -C muparser clean
make -C interface clean
distclean:clean