| Line | |
|---|
| 1 | # $Id: GNUmakefile,v 1.5 2010/01/11 16:49:50 gcosmo 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 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.