Skip to content
Snippets Groups Projects
Commit 36ca867c authored by Baptiste LENIAU's avatar Baptiste LENIAU
Browse files

Changing the install method of CLASS : make it much more simpler for the user.

TO INSTALL CLASS FOR THE FIRST TIME YOU HAVE TO RUN CLASS_PATH/Utils/install.sh in the CLASS_PATH folder

git-svn-id: svn+ssh://svn.in2p3.fr/class@765 0e7d625b-0364-4367-a6be-d5be4a48d228
parent 95101792
No related branches found
No related tags found
No related merge requests found
include ./Makefile.config include ../config/Makefile.config
OMPFLAGS= OMPFLAGS=
OMPLIB= OMPLIB=
# Directory containing libraries
LIBDIR = $(CLASS_lib)
# Directory containing includes for CLASS # Directory containing includes for CLASS
LOCALINC = $(CLASS_include) LOCALINC = ../source/include
###################################################### ######################################################
######### nothing to change from here ################ ######### nothing to change from here ################
...@@ -15,11 +13,11 @@ LOCALINC = $(CLASS_include) ...@@ -15,11 +13,11 @@ LOCALINC = $(CLASS_include)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
CXXFLAGS += -g -I$(LOCALINC) CXXFLAGS += -g -I$(LOCALINC)
LD = $(CXX) LD = $(CXX)
LIBS += -L$(LIBDIR) -lCLASSpkg -lgomp LIBS += -L$(LIBDIR) -lCLASSpkg $(OMPLIB)
LDFLAGS = -g LDFLAGS =
GLIBS = $(ROOTGLIBS) -lTMVA GLIBS = $(ROOTGLIBS) -lTMVA
CXXFLAGS += -g $(ROOTCFLAGS) CXXFLAGS += $(ROOTCFLAGS)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
subO = CLASSPlotElement.o \ subO = CLASSPlotElement.o \
...@@ -48,7 +46,7 @@ all: $(OBJS) ...@@ -48,7 +46,7 @@ all: $(OBJS)
@mkdir -p bin @mkdir -p bin
@mv $(main) bin/ @mv $(main) bin/
@echo "$(main) done" @echo "$(main) done"
@echo "CLASSGui is now available in $(CLASS_PATH)/Gui/bin !!" @echo "CLASSGui is now available in $LIBDIR/../gui/bin "
...@@ -69,5 +67,5 @@ CLASSWin.o: CLASSRead.hxx \ ...@@ -69,5 +67,5 @@ CLASSWin.o: CLASSRead.hxx \
CLASSPlotElement.o: CLASSPlotElement.hxx CLASSPlotElement.o: CLASSPlotElement.hxx
.cxx.o: .cxx.o:
$(CXX) $(CXXFLAGS) -c $< $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c $<
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment