/[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.3 by nikolas, Thu Feb 19 17:39:48 2009 UTC
# Line 9  ifeq ($(PLATFORM),) Line 9  ifeq ($(PLATFORM),)
9  PLATFORM = $(shell root-config --arch)  PLATFORM = $(shell root-config --arch)
10  endif  endif
11    
12  TOPDIR  = $(G4VMC_DIR)  TOPDIR  = $(PWD)
13  BINDIR  = $(G4WORKDIR)/tmp/tgt_$(PLATFORM)/$(PACKAGE)  BINDIR  = $(TOPDIR)/tmp/tgt_$(PLATFORM)/$(PACKAGE)
14  LIBDIR  = $(G4WORKDIR)/lib/tgt_$(PLATFORM)  LIBDIR  = $(TOPDIR)/lib/tgt_$(PLATFORM)
15    #BINDIR  = $(G4WORKDIR)/tmp/tgt_$(PLATFORM)/$(PACKAGE)
16    #LIBDIR  = $(G4WORKDIR)/lib/tgt_$(PLATFORM)
17    
18  ifeq ($(ROOTSYS),)  ifeq ($(ROOTSYS),)
19  ROOT_INCDIR = $(shell root-config --incdir)  ROOT_INCDIR = $(shell root-config --incdir)
# Line 74  OBJS   := $(CXXOBJ) $(GDICTO) $(FOBJ) Line 76  OBJS   := $(CXXOBJ) $(GDICTO) $(FOBJ)
76    
77  # PAMELA LIBS  # PAMELA LIBS
78  #  #
79  #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  
80  SHLIBS := ${PAMLIBS}  SHLIBS := ${PAMLIBS}
81  # Make include list  # Make include list
82  #  #
 #PAMINC := -I${PAM_INC} -I${PAM_INC}/yoda -I${ALIROOT}/TFluka/  
 #PAMINC := -I${PAM_INC} -I${PAM_INC}/yoda -I${ALIROOT}/source/  
83  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
84  INCDIR  := -Iinclude $(PAMINC) \  INCDIR  := -Iinclude $(PAMINC) \
85             -Ical/include \             -Ical/include \
# Line 91  INCDIR  := -Iinclude $(PAMINC) \ Line 88  INCDIR  := -Iinclude $(PAMINC) \
88             -Iac/include \             -Iac/include \
89             -Is4/include \             -Is4/include \
90             -Ind/include \             -Ind/include \
91             -I$(TOPDIR)/include \             -I$(G4VMC_DIR)/include \
92             -I$(CLHEP_BASE_DIR)/include \             -I$(CLHEP_BASE_DIR)/include \
93             -Iinclude -I$(G4INCLUDE)             -Iinclude -I$(G4INCLUDE)
94    
# Line 108  DEPINC                 += -I. -I$(ROOT_INCDIR) $(INCDI Line 105  DEPINC                 += -I. -I$(ROOT_INCDIR) $(INCDI
105  RM_FILE=$(shell rm -f $(LIBDIR)/resxy_new.root)\  RM_FILE=$(shell rm -f $(LIBDIR)/resxy_new.root)\
106          $(shell rm -f $(LIBDIR)/CalibTrk_00110_000_000.root)          $(shell rm -f $(LIBDIR)/CalibTrk_00110_000_000.root)
107    
108    AUXDIR='aux'
109  CP_FILE=$(shell mkdir -p  ${LIBDIR})\  CP_FILE=$(shell mkdir -p  ${LIBDIR})\
110          $(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}/)
111    
112  SLIBRARY        = $(LIBDIR)/lib$(PACKAGE).$(SL)  SLIBRARY        = $(LIBDIR)/lib$(PACKAGE).$(SL)
113  ALIBRARY        = $(LIBDIR)/lib$(PACKAGE).a  ALIBRARY        = $(LIBDIR)/lib$(PACKAGE).a

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

  ViewVC Help
Powered by ViewVC 1.1.23