source: trunk/examples/advanced/human_phantom/GNUmakefile@ 1229

Last change on this file since 1229 was 807, checked in by garnier, 17 years ago

update

File size: 1.2 KB
Line 
1# --------------------------------------------------------------
2# GNUmakefile for examples module.
3# Author: Giorgio Guerrieri
4# Date: 14/06/2005.
5# --------------------------------------------------------------
6
7name := phantom
8G4TARGET := $(name)
9G4EXLIB := true
10
11ifndef SCRAM_ARCH
12 SCRAM_ARCH := slc3_ia32_gcc323
13endif
14
15ifndef G4INSTALL
16 G4INSTALL = ../../..
17endif
18
19ifndef GDML_BASE
20# GDML_BASE := /afs/cern.ch/sw/lcg/app/releases/GDML/pro
21 GDML_BASE := /local/GDML_2_8_0
22endif
23
24CPPFLAGS += \
25 -I$(GDML_BASE)/include \
26 -I$(XERCESCROOT)/include
27
28ifdef G4ANALYSIS_USE
29CPPFLAGS += \
30 `aida-config --include`
31endif
32
33EXTRALIBS += \
34 -L$(GDML_BASE)/$(SCRAM_ARCH)/lib \
35 -lG4Processor \
36 -lG4Subscribers \
37 -lG4Processor \
38 -lG4Evaluator\
39 -lG4Writer \
40 -L$(GDML_BASE)/$(SCRAM_ARCH)/lib \
41 -lSaxana \
42 -lProcesses \
43 -lWriter \
44 -L$(XERCESCROOT)/lib -lxerces-c
45
46ifdef G4ANALYSIS_USE
47EXTRALIBS += \
48 `aida-config --lib`
49endif
50
51.PHONY: all
52all: lib bin
53
54include $(G4INSTALL)/config/binmake.gmk
55
56visclean:
57 rm -f g4*.prim g4*.eps g4*.wrl
58 rm -f .DAWN_*
Note: See TracBrowser for help on using the repository browser.