source: trunk/examples/extended/radioactivedecay/exrdm/GNUmakefile @ 1229

Last change on this file since 1229 was 807, checked in by garnier, 16 years ago

update

File size: 806 bytes
Line 
1# $Id: GNUmakefile,v 1.4 2006/12/21 17:52:39 flei Exp $
2# --------------------------------------------------------------
3# GNUmakefile for examples module
4# --------------------------------------------------------------
5
6name := exRDM
7G4TARGET := $(name)
8G4EXLIB := true
9
10ifndef G4INSTALL
11  G4INSTALL = ../../../..
12endif
13
14ifdef G4ANALYSIS_USE_ROOT
15CPPFLAGS += -DG4ANALYSIS_USE_ROOT
16CPPFLAGS += -D_REENTRANT -I$(ROOTSYS)/include
17
18EXTRALIBS += -L$(ROOTSYS)/lib \
19-lCore -lCint \
20-lHist -lGraf -lGraf3d -lGpad \
21-lTree -lRint -lPostscript \
22-lMatrix -lPhysics \
23-lm -ldl -lpthread -rdynamic
24
25endif
26
27ifdef G4ANALYSIS_USE_AIDA
28   CPPFLAGS += -DG4ANALYSIS_USE_AIDA
29   CPPFLAGS += `aida-config --include`
30   LDLIBS += `aida-config --lib`
31endif
32
33.PHONY: all
34all: lib bin
35
36include $(G4INSTALL)/config/binmake.gmk
37
Note: See TracBrowser for help on using the repository browser.