Skip to content
Snippets Groups Projects
Commit e41d9c07 authored by BaM's avatar BaM
Browse files

git-svn-id: svn+ssh://svn.in2p3.fr/class@102 0e7d625b-0364-4367-a6be-d5be4a48d228
parent 54e28012
No related branches found
No related tags found
No related merge requests found
# Directory containing libraries
LIBDIR = ../../lib
# Base directory containing includes for libmctal and libvalerr
EXTERNINC = ../external
# Directory containing includes for MURE
LOCALINC = ../include
######### nothing to change from here #########
INCLUDES = $(LOCALINC)/*.hxx
LIBNAME = SPERMpkg
OBJS = Pool.o Reactor.o Factory.o IsotopicVector.o ZAI.o DataBank.o EvolutionData.o
CXX = g++
CXXFLAGS = -O2 -g -Wall -fPIC ${MCNP_VERSION} -I$(LOCALINC) -I${ROOTSYS}/include -I$(EXTERNINC)
LD = g++
LDFLAGS = -g -Wall -fPIC -L$(LIBDIR) -lvalerr -lmctal -shared
all: $(OBJS)
$(LD) $(LDFLAGS) $(OBJS) -o $(LIBDIR)/lib$(LIBNAME).so
@echo "lib$(LIBNAME).so done"
clean:
@rm -vf $(OBJS) *~ core
.SUFFIXES: .cxx
%.o: %.cxx $(INCLUDES)
$(CXX) $(CXXFLAGS) -c $*.cxx
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment