| Rev | Line | |
|---|
| [807] | 1 | # $Id: GNUmakefile,v 1.7 2006/10/31 15:05:33 vnivanch Exp $
|
|---|
| 2 | # GEANT4 tag $Name: $
|
|---|
| 3 | # --------------------------------------------------------------
|
|---|
| 4 | # GNUmakefile for examples module with AIDA interface
|
|---|
| 5 | # --------------------------------------------------------------
|
|---|
| 6 |
|
|---|
| 7 | name := hadr01
|
|---|
| 8 | G4TARGET := $(name)
|
|---|
| 9 | G4EXLIB := true
|
|---|
| 10 |
|
|---|
| 11 | ifndef G4INSTALL
|
|---|
| 12 | G4INSTALL = ../../../
|
|---|
| 13 | endif
|
|---|
| 14 |
|
|---|
| 15 | .PHONY: all
|
|---|
| 16 | all: lib bin
|
|---|
| 17 |
|
|---|
| 18 | ifdef G4ANALYSIS_USE
|
|---|
| 19 | CPPFLAGS += -DG4ANALYSIS_USE
|
|---|
| 20 | endif
|
|---|
| 21 |
|
|---|
| 22 | include $(G4INSTALL)/config/architecture.gmk
|
|---|
| 23 |
|
|---|
| 24 | # for the aida-config command see the README file
|
|---|
| 25 | ifdef G4ANALYSIS_USE
|
|---|
| 26 | CPPFLAGS += `aida-config --include`
|
|---|
| 27 | LOADLIBS += `aida-config --lib`
|
|---|
| 28 | endif
|
|---|
| 29 |
|
|---|
| 30 | include $(G4INSTALL)/config/binmake.gmk
|
|---|
| 31 |
|
|---|
| 32 | histclean:
|
|---|
| 33 | rm -f $(G4WORKDIR)/tmp/$(G4SYSTEM)/$(G4TARGET)/Histo.o
|
|---|
| 34 |
|
|---|
| 35 | visclean:
|
|---|
| 36 | rm -f g4*.prim g4*.eps g4*.wrl
|
|---|
| 37 | rm -f .DAWN_*
|
|---|
| 38 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.