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