Updated Makefile

This commit is contained in:
Guilhem Lavaux 2009-01-08 09:19:13 -06:00
parent a41907f4a3
commit a3616b79d9

View File

@ -1,16 +1,16 @@
SHLIBS= libCosmoTool.so
CXX=g++
CC=gcc
CXXFLAGS= -ggdb -O3
CFLAGS= -ggdb -O3
SOURCES= loadRamses.cpp yorick.cpp miniargs.cpp
LIBS= -lnetcdf_c++ -lnetcdf -lm
CXXFLAGS= -ggdb -O0
CFLAGS= -ggdb -O0
SOURCES= loadRamses.cpp yorick.cpp miniargs.cpp fortran.cpp interpolate.cpp
LIBS= -lnetcdf_c++ -lnetcdf -lgsl -lgslcblas -lm
VPATH=../src
all: $(SHLIBS)
libCosmoTool.so: loadRamses.o yorick.o miniargs.o
libCosmoTool.so: loadRamses.o yorick.o miniargs.o fortran.o interpolate.o
depend: $(SOURCES)
@echo "[DEPENDS] $^"
@ -23,6 +23,7 @@ install:
@cp libCosmoTool.so ../install/lib
@echo "Copying header files"
@cp ../src/*.hpp ../install/include/CosmoTool
@cp ../src/*.tcc ../install/include/CosmoTool
@cp ../src/*.h ../install/include/CosmoTool
distclean: clean