Files
geant4/examples/extended/parallel/ExDiane/GNUmakefile
T
2016-06-09 10:56:29 +02:00

31 lines
672 B
Makefile

# $Id: GNUmakefile,v 1.3 2004/05/25 12:46:46 guatelli Exp $
# --------------------------------------------------------------
name := Brachy
G4TARGET := $(name)
G4EXLIB := true
ifndef G4INSTALL
G4INSTALL = ../../..
endif
.PHONY: all
ifdef G4DIANE_USE
G4LIB_BUILD_SHARED = 1
all: lib bin
@echo "Linking DIANE libraries..."
@g++ -shared -o${G4WORKDIR}/tmp/${G4SYSTEM}/${name}/libDIANE_${name}.so -L${G4WORKDIR}/tmp/${G4SYSTEM}/${name} -l${name} ${LDFLAGS} ${LDLIBS}
else
all: lib bin
endif
include $(G4INSTALL)/config/binmake.gmk
ifdef G4ANALYSIS_USE
CPPFLAGS += `aida-config --include`
LDFLAGS += `aida-config --lib`
LOADLIBS += `aida-config --lib`
endif