Line | |
---|
1 | # $Id: GNUmakefile,v 1.12 2009/08/13 20:48:04 kaitanie Exp $ |
---|
2 | # -------------------------------------------------------------- |
---|
3 | # GNUmakefile for examples module. Gabriele Cosmo, 06/04/98. |
---|
4 | # -------------------------------------------------------------- |
---|
5 | |
---|
6 | name := Hadrontherapy |
---|
7 | G4TARGET := $(name) |
---|
8 | G4EXLIB := true |
---|
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 | ifdef G4ANALYSIS_USE |
---|
20 | CPPFLAGS += -DANALYSIS_USE |
---|
21 | endif |
---|
22 | ifndef G4ANALYSIS_USE # If we don't have AIDA |
---|
23 | ifdef G4ANALYSIS_USE_ROOT # And we have ROOT |
---|
24 | CPPFLAGS += -DANALYSIS_USE -DG4ANALYSIS_USE_ROOT |
---|
25 | CPPFLAGS += $(shell root-config --cflags) |
---|
26 | LDFLAGS += $(shell root-config --glibs) |
---|
27 | endif |
---|
28 | endif |
---|
29 | |
---|
30 | include $(G4INSTALL)/config/binmake.gmk |
---|
31 | |
---|
32 | ifdef G4ANALYSIS_USE |
---|
33 | endif |
---|
Note: See
TracBrowser
for help on using the repository browser.