Line | |
---|
1 | # $Id: GNUmakefile,v 1.9 2008/12/05 09:57:30 flei Exp $ |
---|
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 | |
---|
14 | .PHONY: all |
---|
15 | all: lib bin |
---|
16 | |
---|
17 | ifdef G4ANALYSIS_USE_ROOT |
---|
18 | CPPFLAGS += -DG4ANALYSIS_USE_ROOT |
---|
19 | endif |
---|
20 | |
---|
21 | include $(G4INSTALL)/config/architecture.gmk |
---|
22 | |
---|
23 | ifdef G4ANALYSIS_USE_ROOT |
---|
24 | CPPFLAGS += $(shell $(ROOTSYS)/bin/root-config --cflags) |
---|
25 | LDFLAGS += $(shell $(ROOTSYS)/bin/root-config --glibs) |
---|
26 | endif |
---|
27 | |
---|
28 | include $(G4INSTALL)/config/binmake.gmk |
---|
29 | |
---|
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.