source: trunk/examples/advanced/hadrontherapy/GNUmakefile @ 1282

Last change on this file since 1282 was 1230, checked in by garnier, 14 years ago

update to geant4.9.3

File size: 798 bytes
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
6name := Hadrontherapy
7G4TARGET := $(name)
8G4EXLIB := true
9
10ifndef G4INSTALL
11  G4INSTALL = ../../..
12endif
13
14.PHONY: all
15all: lib bin
16
17include $(G4INSTALL)/config/architecture.gmk
18
19ifdef G4ANALYSIS_USE
20CPPFLAGS += -DANALYSIS_USE
21endif
22ifndef G4ANALYSIS_USE      # If we don't have AIDA
23ifdef G4ANALYSIS_USE_ROOT   # And we have ROOT
24CPPFLAGS += -DANALYSIS_USE -DG4ANALYSIS_USE_ROOT
25CPPFLAGS += $(shell root-config --cflags)
26LDFLAGS  += $(shell root-config --glibs)
27endif
28endif
29
30include $(G4INSTALL)/config/binmake.gmk
31
32ifdef G4ANALYSIS_USE
33endif
Note: See TracBrowser for help on using the repository browser.