Rev | Line | |
---|
[1230] | 1 | # $Id: GNUmakefile,v 1.9 2008/12/05 09:57:30 flei Exp $ |
---|
[807] | 2 | # -------------------------------------------------------------- |
---|
| 3 | # GNUmakefile for examples module |
---|
| 4 | # -------------------------------------------------------------- |
---|
| 5 | |
---|
| 6 | name := exRDM |
---|
| 7 | G4TARGET := $(name) |
---|
| 8 | G4EXLIB := true |
---|
| 9 | |
---|
| 10 | ifndef G4INSTALL |
---|
| 11 | G4INSTALL = ../../../.. |
---|
| 12 | endif |
---|
| 13 | |
---|
[1230] | 14 | .PHONY: all |
---|
| 15 | all: lib bin |
---|
| 16 | |
---|
[807] | 17 | ifdef G4ANALYSIS_USE_ROOT |
---|
[1230] | 18 | CPPFLAGS += -DG4ANALYSIS_USE_ROOT |
---|
| 19 | endif |
---|
[807] | 20 | |
---|
[1230] | 21 | include $(G4INSTALL)/config/architecture.gmk |
---|
[807] | 22 | |
---|
[1230] | 23 | ifdef G4ANALYSIS_USE_ROOT |
---|
| 24 | CPPFLAGS += $(shell $(ROOTSYS)/bin/root-config --cflags) |
---|
| 25 | LDFLAGS += $(shell $(ROOTSYS)/bin/root-config --glibs) |
---|
[807] | 26 | endif |
---|
| 27 | |
---|
| 28 | include $(G4INSTALL)/config/binmake.gmk |
---|
| 29 | |
---|
[1230] | 30 | anaclean: |
---|
| 31 | rm -f $(G4WORKDIR)/tmp/$(G4SYSTEM)/$(G4TARGET)/exrdmHisto* |
---|
| 32 | rm -f $(G4WORKDIR)/tmp/$(G4SYSTEM)/$(G4TARGET)/exrdmAnalysis* |
---|
| 33 | rm -f $(G4WORKDIR)/tmp/$(G4SYSTEM)/$(G4TARGET)/exrdmStepping* |
---|
Note: See
TracBrowser
for help on using the repository browser.