Rev | Line | |
---|
[807] | 1 | # $Id: GNUmakefile,v 1.3 2004/05/25 12:46:46 guatelli Exp $ |
---|
| 2 | # -------------------------------------------------------------- |
---|
| 3 | |
---|
| 4 | name := Brachy |
---|
| 5 | G4TARGET := $(name) |
---|
| 6 | G4EXLIB := true |
---|
| 7 | |
---|
| 8 | ifndef G4INSTALL |
---|
| 9 | G4INSTALL = ../../.. |
---|
| 10 | endif |
---|
| 11 | |
---|
| 12 | .PHONY: all |
---|
| 13 | |
---|
| 14 | ifdef G4DIANE_USE |
---|
| 15 | G4LIB_BUILD_SHARED = 1 |
---|
| 16 | all: 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} |
---|
| 19 | else |
---|
| 20 | all: lib bin |
---|
| 21 | endif |
---|
| 22 | |
---|
| 23 | include $(G4INSTALL)/config/binmake.gmk |
---|
| 24 | ifdef G4ANALYSIS_USE |
---|
| 25 | CPPFLAGS += `aida-config --include` |
---|
| 26 | LDFLAGS += `aida-config --lib` |
---|
| 27 | LOADLIBS += `aida-config --lib` |
---|
| 28 | endif |
---|
| 29 | |
---|
| 30 | |
---|
Note: See
TracBrowser
for help on using the repository browser.