| Rev | Line | |
|---|
| [1313] | 1 | # $Id: GNUmakefile,v 1.17 2010/05/18 11:14:39 cirrone Exp $
|
|---|
| [807] | 2 | # --------------------------------------------------------------
|
|---|
| 3 | # GNUmakefile for examples module. Gabriele Cosmo, 06/04/98.
|
|---|
| 4 | # --------------------------------------------------------------
|
|---|
| 5 |
|
|---|
| 6 | name := Hadrontherapy
|
|---|
| 7 | G4TARGET := $(name)
|
|---|
| 8 | G4EXLIB := true
|
|---|
| 9 |
|
|---|
| [1313] | 10 | # Debug info
|
|---|
| 11 | #CPPFLAGS += -g
|
|---|
| 12 |
|
|---|
| [807] | 13 | ifndef G4INSTALL
|
|---|
| [1313] | 14 | G4INSTALL = ../..
|
|---|
| [807] | 15 | endif
|
|---|
| 16 |
|
|---|
| 17 | .PHONY: all
|
|---|
| 18 | all: lib bin
|
|---|
| 19 |
|
|---|
| [1230] | 20 | include $(G4INSTALL)/config/architecture.gmk
|
|---|
| 21 |
|
|---|
| [1313] | 22 | ifdef G4ANALYSIS_USE_ROOT # If we have ROOT
|
|---|
| 23 | CPPFLAGS += -DG4ANALYSIS_USE_ROOT
|
|---|
| [1230] | 24 | CPPFLAGS += $(shell root-config --cflags)
|
|---|
| 25 | LDFLAGS += $(shell root-config --glibs)
|
|---|
| 26 | endif
|
|---|
| 27 |
|
|---|
| [807] | 28 | include $(G4INSTALL)/config/binmake.gmk
|
|---|
| 29 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.