Line | |
---|
1 | # $Id: GNUmakefile,v 1.4 2006/12/21 17:52:39 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 | ifdef G4ANALYSIS_USE_ROOT |
---|
15 | CPPFLAGS += -DG4ANALYSIS_USE_ROOT |
---|
16 | CPPFLAGS += -D_REENTRANT -I$(ROOTSYS)/include |
---|
17 | |
---|
18 | EXTRALIBS += -L$(ROOTSYS)/lib \ |
---|
19 | -lCore -lCint \ |
---|
20 | -lHist -lGraf -lGraf3d -lGpad \ |
---|
21 | -lTree -lRint -lPostscript \ |
---|
22 | -lMatrix -lPhysics \ |
---|
23 | -lm -ldl -lpthread -rdynamic |
---|
24 | |
---|
25 | endif |
---|
26 | |
---|
27 | ifdef G4ANALYSIS_USE_AIDA |
---|
28 | CPPFLAGS += -DG4ANALYSIS_USE_AIDA |
---|
29 | CPPFLAGS += `aida-config --include` |
---|
30 | LDLIBS += `aida-config --lib` |
---|
31 | endif |
---|
32 | |
---|
33 | .PHONY: all |
---|
34 | all: lib bin |
---|
35 | |
---|
36 | include $(G4INSTALL)/config/binmake.gmk |
---|
37 | |
---|
Note: See
TracBrowser
for help on using the repository browser.