/[PAMELA software]/PamVMC/Makefile
ViewVC logotype

Diff of /PamVMC/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by nikolas, Wed Feb 18 17:25:29 2009 UTC revision 1.4 by nikolas, Thu Feb 19 18:55:24 2009 UTC
# Line 2  Line 2 
2    
3  ############################### geant4vmc Makefile ###########################  ############################### geant4vmc Makefile ###########################
4    
   
5  PACKAGE   = PamVMC_fc  PACKAGE   = PamVMC_fc
6    
7  ifeq ($(PLATFORM),)  ifeq ($(PLATFORM),)
8  PLATFORM = $(shell root-config --arch)  PLATFORM = $(shell root-config --arch)
9  endif  endif
10    
11  TOPDIR  = $(G4VMC_DIR)  TOPDIR  = $(PWD)
12  BINDIR  = $(G4WORKDIR)/tmp/tgt_$(PLATFORM)/$(PACKAGE)  BINDIR  = $(TOPDIR)/tmp/tgt_$(PLATFORM)/$(PACKAGE)
13  LIBDIR  = $(G4WORKDIR)/lib/tgt_$(PLATFORM)  LIBDIR  = $(TOPDIR)/lib/tgt_$(PLATFORM)
14    #BINDIR  = $(G4WORKDIR)/tmp/tgt_$(PLATFORM)/$(PACKAGE)
15    #LIBDIR  = $(G4WORKDIR)/lib/tgt_$(PLATFORM)
16    
17  ifeq ($(ROOTSYS),)  ifeq ($(ROOTSYS),)
18  ROOT_INCDIR = $(shell root-config --incdir)  ROOT_INCDIR = $(shell root-config --incdir)
# Line 74  OBJS   := $(CXXOBJ) $(GDICTO) $(FOBJ) Line 75  OBJS   := $(CXXOBJ) $(GDICTO) $(FOBJ)
75    
76  # PAMELA LIBS  # PAMELA LIBS
77  #  #
78  #ALIROOT=/home/nikolas/francesco/aliroot/test/pro/  PAMLIBS := -L${PAM_LIB} -lTrkLevel2  
 ALIROOT=/home/nikolas/francesco/vmc/fluka_vmc/  
 #PAMLIBS := -L${PAM_LIB} -lTrkLevel2  -L${ALIROOT}/lib/tgt_linux/ -lTFluka  
 PAMLIBS := -L${PAM_LIB} -lTrkLevel2  -L${ALIROOT}/lib/tgt_linux/ -lfluka  
79  SHLIBS := ${PAMLIBS}  SHLIBS := ${PAMLIBS}
80  # Make include list  # Make include list
81  #  #
 #PAMINC := -I${PAM_INC} -I${PAM_INC}/yoda -I${ALIROOT}/TFluka/  
 #PAMINC := -I${PAM_INC} -I${PAM_INC}/yoda -I${ALIROOT}/source/  
82  PAMINC :=   -I$(PAMELA_SOFTWARE)/include/yoda -I$(PAMELA_SOFTWARE)/inc -I${ALIROOT}/source  PAMINC :=   -I$(PAMELA_SOFTWARE)/include/yoda -I$(PAMELA_SOFTWARE)/inc -I${ALIROOT}/source
83  INCDIR  := -Iinclude $(PAMINC) \  INCDIR  := -Iinclude $(PAMINC) \
84             -Ical/include \             -Ical/include \
# Line 91  INCDIR  := -Iinclude $(PAMINC) \ Line 87  INCDIR  := -Iinclude $(PAMINC) \
87             -Iac/include \             -Iac/include \
88             -Is4/include \             -Is4/include \
89             -Ind/include \             -Ind/include \
90             -I$(TOPDIR)/include \             -I$(G4VMC_DIR)/include \
91             -I$(CLHEP_BASE_DIR)/include \             -I$(CLHEP_BASE_DIR)/include \
92             -Iinclude -I$(G4INCLUDE)             -Iinclude -I$(G4INCLUDE)
93    
# Line 108  DEPINC                 += -I. -I$(ROOT_INCDIR) $(INCDI Line 104  DEPINC                 += -I. -I$(ROOT_INCDIR) $(INCDI
104  RM_FILE=$(shell rm -f $(LIBDIR)/resxy_new.root)\  RM_FILE=$(shell rm -f $(LIBDIR)/resxy_new.root)\
105          $(shell rm -f $(LIBDIR)/CalibTrk_00110_000_000.root)          $(shell rm -f $(LIBDIR)/CalibTrk_00110_000_000.root)
106    
107    AUXDIR='aux'
108  CP_FILE=$(shell mkdir -p  ${LIBDIR})\  CP_FILE=$(shell mkdir -p  ${LIBDIR})\
109          $(shell cp -rf resxy_new.root CalibTrk_00110_000_000.root ${LIBDIR}/)          $(shell cp -rf ${AUXDIR}/resxy_new.root ${AUXDIR}/CalibTrk_00110_000_000.root ${LIBDIR}/)
110    
111  SLIBRARY        = $(LIBDIR)/lib$(PACKAGE).$(SL)  SLIBRARY        = $(LIBDIR)/lib$(PACKAGE).$(SL)
112  ALIBRARY        = $(LIBDIR)/lib$(PACKAGE).a  ALIBRARY        = $(LIBDIR)/lib$(PACKAGE).a

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.23