Line | |
---|
1 | # $Id: GNUmakefile,v 1.17 2010/05/18 11:14:39 cirrone 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 | # Debug info |
---|
11 | #CPPFLAGS += -g |
---|
12 | |
---|
13 | ifndef G4INSTALL |
---|
14 | G4INSTALL = ../.. |
---|
15 | endif |
---|
16 | |
---|
17 | .PHONY: all |
---|
18 | all: lib bin |
---|
19 | |
---|
20 | include $(G4INSTALL)/config/architecture.gmk |
---|
21 | |
---|
22 | ifdef G4ANALYSIS_USE_ROOT # If we have ROOT |
---|
23 | CPPFLAGS += -DG4ANALYSIS_USE_ROOT |
---|
24 | CPPFLAGS += $(shell root-config --cflags) |
---|
25 | LDFLAGS += $(shell root-config --glibs) |
---|
26 | endif |
---|
27 | |
---|
28 | include $(G4INSTALL)/config/binmake.gmk |
---|
29 | |
---|
Note: See
TracBrowser
for help on using the repository browser.