Line | |
---|
1 | # $Id: GNUmakefile,v 1.2 2006/11/16 14:42:20 vnivanch Exp $ |
---|
2 | # -------------------------------------------------------------- |
---|
3 | # GNUmakefile for examples module. Gabriele Cosmo, 06/04/98. |
---|
4 | # -------------------------------------------------------------- |
---|
5 | |
---|
6 | name := GammaTherapy |
---|
7 | G4TARGET := $(name) |
---|
8 | G4EXLIB := true |
---|
9 | |
---|
10 | ifndef G4INSTALL |
---|
11 | G4INSTALL = ../geant4 |
---|
12 | endif |
---|
13 | |
---|
14 | .PHONY: all |
---|
15 | all: lib bin |
---|
16 | |
---|
17 | ifdef G4ANALYSIS_USE |
---|
18 | CPPFLAGS += -DG4ANALYSIS_USE |
---|
19 | endif |
---|
20 | |
---|
21 | include $(G4INSTALL)/config/architecture.gmk |
---|
22 | |
---|
23 | ifdef G4ANALYSIS_USE |
---|
24 | CPPFLAGS += `aida-config --include` |
---|
25 | LOADLIBS += `aida-config --lib` |
---|
26 | endif |
---|
27 | |
---|
28 | include $(G4INSTALL)/config/binmake.gmk |
---|
29 | |
---|
30 | histclean: |
---|
31 | rm -f $(G4WORKDIR)/tmp/$(G4SYSTEM)/$(G4TARGET)/Histo.o |
---|
32 | |
---|
33 | visclean: |
---|
34 | rm -f $(G4WORKDIR)/tmp/$(G4SYSTEM)/$(G4TARGET)/VisManager.o |
---|
Note: See
TracBrowser
for help on using the repository browser.