functions splitted in many sub-files

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@167 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
bergamaschi
2012-04-02 15:16:32 +00:00
parent b227ad1b0c
commit ee36cdf9e4
109 changed files with 13230 additions and 4479 deletions

View File

@ -0,0 +1,87 @@
#---------------------------------------------------
include Makefile.arch
#------------------------------------------------------------------------------
SLSDETO = TSlsDetectorDict.$(ObjSuf) energyCalibration.$(ObjSuf) angularCalibration.$(ObjSuf)
SLSDETSO = libTSlsDetector.$(DllSuf)
CXXFLAGS += -Wno-deprecated
#LIBS += -L../slsDetectorSoftware -lSlsDetector -pthread
CXXFLAGS += -I ../usersFunctions
HEADERS= energyCalibration.h angularCalibration.h
#-------------------------------------------------------------------------------
#----------- do the shared library
$(SLSDETSO): $(SLSDETO)
@echo "Generating shared library $@..."
$(LD) $(SOFLAGS) $(LDFLAGS) -o $@ $(LIBS) $^
# ---------- Default rule
%.$(ObjSuf): %.cpp
@echo "Compiling source $@..."
$(CXX) $(CXXFLAGS) -c $<
#----------- do the dictionary
TSlsDetectorDict.$(SrcSuf): $(HEADERS)
@echo "Generating dictionary $@..."
rootcint -f $@ -c -p $^
#-------------------------------------------------------------------------------
all: $(SLSDETSO)
clean:
@rm -f $(SLSDETO) core
distclean: clean
@rm -f *Dict.* *.so *.o