source: trunk/examples/extended/parallel/ExDiane/GNUmakefile @ 807

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

update

File size: 672 bytes
Line 
1# $Id: GNUmakefile,v 1.3 2004/05/25 12:46:46 guatelli Exp $
2# --------------------------------------------------------------
3
4name := Brachy
5G4TARGET := $(name)
6G4EXLIB := true
7
8ifndef G4INSTALL
9  G4INSTALL = ../../..
10endif
11
12.PHONY: all
13
14ifdef G4DIANE_USE
15G4LIB_BUILD_SHARED = 1
16all: lib bin
17        @echo "Linking DIANE libraries..."
18        @g++ -shared -o${G4WORKDIR}/tmp/${G4SYSTEM}/${name}/libDIANE_${name}.so -L${G4WORKDIR}/tmp/${G4SYSTEM}/${name} -l${name} ${LDFLAGS} ${LDLIBS}
19else
20all: lib bin
21endif
22
23include $(G4INSTALL)/config/binmake.gmk
24ifdef G4ANALYSIS_USE 
25 CPPFLAGS += `aida-config --include`
26 LDFLAGS  += `aida-config --lib`
27 LOADLIBS += `aida-config --lib`
28endif
29
30
Note: See TracBrowser for help on using the repository browser.