Rev | Line | |
---|
[1350] | 1 | ls |
---|
| 2 | # $Id: GNUmakefile,v 1.8 2001/11/12 09:52:21 pia Exp $ |
---|
| 3 | # -------------------------------------------------------------- |
---|
| 4 | |
---|
| 5 | name := processTest |
---|
| 6 | G4TARGET := $(name) |
---|
| 7 | G4EXLIB := true |
---|
| 8 | GENERAL=1 |
---|
| 9 | |
---|
| 10 | ifndef G4INSTALL |
---|
| 11 | G4INSTALL = ../../../../../.. |
---|
| 12 | endif |
---|
| 13 | |
---|
| 14 | .PHONY: all |
---|
| 15 | all: lib bin |
---|
| 16 | |
---|
| 17 | include $(G4INSTALL)/config/architecture.gmk |
---|
| 18 | |
---|
| 19 | # NEW: this requires the env-var LHCXX_REL_DIR to be set up correctly, |
---|
| 20 | # see the first lines in G4ComptonTest.cc |
---|
| 21 | # |
---|
| 22 | CPPFLAGS += -I$(LHCXX_REL_DIR)/include |
---|
| 23 | LDFLAGS += -L$(LHCXX_REL_DIR)/lib |
---|
| 24 | # general stuff: |
---|
| 25 | LOADLIBS += -lHepUtilities -lAIDA_Annotation |
---|
| 26 | # add for Histograms: |
---|
| 27 | LOADLIBS += -lAIDA_HBook |
---|
| 28 | # add for Ntuples: |
---|
| 29 | LOADLIBS += -lAIDA_Ntuple -lNtupleTag -lNtupleTag_HBook |
---|
| 30 | # ... and finally system stuff and to deal with the "Fortran legacy": |
---|
| 31 | LOADLIBS += -lCHBook -ldl -lg2c |
---|
| 32 | |
---|
| 33 | include $(G4INSTALL)/config/binmake.gmk |
---|
Note: See
TracBrowser
for help on using the repository browser.