mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 18:17:59 +02:00
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:
87
slsDetectorSoftware/slsDetectorAnalysis/Makefile
Normal file
87
slsDetectorSoftware/slsDetectorAnalysis/Makefile
Normal 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
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user