Updated Makefile
This commit is contained in:
parent
a41907f4a3
commit
a3616b79d9
11
lib/Makefile
11
lib/Makefile
@ -1,16 +1,16 @@
|
|||||||
SHLIBS= libCosmoTool.so
|
SHLIBS= libCosmoTool.so
|
||||||
CXX=g++
|
CXX=g++
|
||||||
CC=gcc
|
CC=gcc
|
||||||
CXXFLAGS= -ggdb -O3
|
CXXFLAGS= -ggdb -O0
|
||||||
CFLAGS= -ggdb -O3
|
CFLAGS= -ggdb -O0
|
||||||
SOURCES= loadRamses.cpp yorick.cpp miniargs.cpp
|
SOURCES= loadRamses.cpp yorick.cpp miniargs.cpp fortran.cpp interpolate.cpp
|
||||||
LIBS= -lnetcdf_c++ -lnetcdf -lm
|
LIBS= -lnetcdf_c++ -lnetcdf -lgsl -lgslcblas -lm
|
||||||
|
|
||||||
VPATH=../src
|
VPATH=../src
|
||||||
|
|
||||||
all: $(SHLIBS)
|
all: $(SHLIBS)
|
||||||
|
|
||||||
libCosmoTool.so: loadRamses.o yorick.o miniargs.o
|
libCosmoTool.so: loadRamses.o yorick.o miniargs.o fortran.o interpolate.o
|
||||||
|
|
||||||
depend: $(SOURCES)
|
depend: $(SOURCES)
|
||||||
@echo "[DEPENDS] $^"
|
@echo "[DEPENDS] $^"
|
||||||
@ -23,6 +23,7 @@ install:
|
|||||||
@cp libCosmoTool.so ../install/lib
|
@cp libCosmoTool.so ../install/lib
|
||||||
@echo "Copying header files"
|
@echo "Copying header files"
|
||||||
@cp ../src/*.hpp ../install/include/CosmoTool
|
@cp ../src/*.hpp ../install/include/CosmoTool
|
||||||
|
@cp ../src/*.tcc ../install/include/CosmoTool
|
||||||
@cp ../src/*.h ../install/include/CosmoTool
|
@cp ../src/*.h ../install/include/CosmoTool
|
||||||
|
|
||||||
distclean: clean
|
distclean: clean
|
||||||
|
Loading…
Reference in New Issue
Block a user