Rev | Line | |
---|
[807] | 1 | # -------------------------------------------------------------- |
---|
| 2 | # GNUmakefile for examples module. |
---|
| 3 | # Author: Giorgio Guerrieri |
---|
| 4 | # Date: 14/06/2005. |
---|
| 5 | # -------------------------------------------------------------- |
---|
| 6 | |
---|
| 7 | name := phantom |
---|
| 8 | G4TARGET := $(name) |
---|
| 9 | G4EXLIB := true |
---|
| 10 | |
---|
| 11 | ifndef SCRAM_ARCH |
---|
| 12 | SCRAM_ARCH := slc3_ia32_gcc323 |
---|
| 13 | endif |
---|
| 14 | |
---|
| 15 | ifndef G4INSTALL |
---|
| 16 | G4INSTALL = ../../.. |
---|
| 17 | endif |
---|
| 18 | |
---|
| 19 | ifndef GDML_BASE |
---|
| 20 | # GDML_BASE := /afs/cern.ch/sw/lcg/app/releases/GDML/pro |
---|
| 21 | GDML_BASE := /local/GDML_2_8_0 |
---|
| 22 | endif |
---|
| 23 | |
---|
| 24 | CPPFLAGS += \ |
---|
| 25 | -I$(GDML_BASE)/include \ |
---|
| 26 | -I$(XERCESCROOT)/include |
---|
| 27 | |
---|
| 28 | ifdef G4ANALYSIS_USE |
---|
| 29 | CPPFLAGS += \ |
---|
| 30 | `aida-config --include` |
---|
| 31 | endif |
---|
| 32 | |
---|
| 33 | EXTRALIBS += \ |
---|
| 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 | |
---|
| 46 | ifdef G4ANALYSIS_USE |
---|
| 47 | EXTRALIBS += \ |
---|
| 48 | `aida-config --lib` |
---|
| 49 | endif |
---|
| 50 | |
---|
| 51 | .PHONY: all |
---|
| 52 | all: lib bin |
---|
| 53 | |
---|
| 54 | include $(G4INSTALL)/config/binmake.gmk |
---|
| 55 | |
---|
| 56 | visclean: |
---|
| 57 | rm -f g4*.prim g4*.eps g4*.wrl |
---|
| 58 | rm -f .DAWN_* |
---|
Note: See
TracBrowser
for help on using the repository browser.