/[PAMELA software]/PamVMC/PamG4RunConfiguration/Makefile
ViewVC logotype

Diff of /PamVMC/PamG4RunConfiguration/Makefile

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

revision 1.2 by nikolas, Wed Feb 18 17:05:04 2009 UTC revision 1.5 by pam-rm2, Fri Jun 12 18:38:52 2009 UTC
# Line 9  PLATFORM = $(shell root-config --arch) Line 9  PLATFORM = $(shell root-config --arch)
9  endif  endif
10    
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    
16    
17  ifeq ($(ROOTSYS),)  ifeq ($(ROOTSYS),)
18  ROOT_INCDIR = $(shell root-config --incdir)  ROOT_INCDIR = $(shell root-config --incdir)
# Line 65  INCDIR  := -Iinclude -I$(G4INCLUDE) \ Line 66  INCDIR  := -Iinclude -I$(G4INCLUDE) \
66             -I$(G4INSTALL)/physics_lists/hadronic/LHEP_BERT/include \             -I$(G4INSTALL)/physics_lists/hadronic/LHEP_BERT/include \
67             -I$(G4INSTALL)/physics_lists/hadronic/Packaging/include \             -I$(G4INSTALL)/physics_lists/hadronic/Packaging/include \
68             -I$(G4INSTALL)/examples/novice/N03/include \             -I$(G4INSTALL)/examples/novice/N03/include \
69               -I$(G4VMC_DIR)/include \
70             -I$(TOPDIR)/include             -I$(TOPDIR)/include
71    
72  ifneq ($(USE_VGM),)  ifneq ($(USE_VGM),)
# Line 160  DEPINC                 += -I. -I$(ROOT_INCDIR) $(INCDI Line 162  DEPINC                 += -I. -I$(ROOT_INCDIR) $(INCDI
162  ############################### Targets #######################################  ############################### Targets #######################################
163    
164    
165    
166  SLIBRARY        = $(LIBDIR)/lib$(PACKAGE).$(SL)  SLIBRARY        = $(LIBDIR)/lib$(PACKAGE).$(SL)
167  ALIBRARY        = $(LIBDIR)/lib$(PACKAGE).a  ALIBRARY        = $(LIBDIR)/lib$(PACKAGE).a
168    
169    LIBDIRUP  = ../lib/tgt_$(PLATFORM)
170    CP_FILE=$(shell mkdir -p  ${LIBDIRUP})\
171            $(shell cp -rf $(LIBDIR)/lib$(PACKAGE).$(SL)  ${LIBDIRUP}/)
172    
173    
174    
175  default:        depend $(SLIBRARY)  default:        depend $(SLIBRARY)
176  all:            default includes  all:            default includes
177    
178    
179  $(LIBDIR)/lib$(PACKAGE).$(SL):  $(OBJS)  $(LIBDIR)/lib$(PACKAGE).$(SL):  $(OBJS) $(CP_FILE)
180  $(LIBDIR)/lib$(PACKAGE).a:      $(OBJS)  $(LIBDIR)/lib$(PACKAGE).a:      $(OBJS) $(CP_FILE)
181    
182  DICT:=          $(GDICT)  DICT:=          $(GDICT)
183    

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

  ViewVC Help
Powered by ViewVC 1.1.23