| Line | |
|---|
| 1 | # $Id: GNUmakefile,v 1.1 2007/11/16 14:28:34 kmura Exp $
|
|---|
| 2 | # $Name: geant4-09-03-cand-01 $
|
|---|
| 3 | # ===========================================================
|
|---|
| 4 | # Makefile for building G4 MPI aplication
|
|---|
| 5 | # ===========================================================
|
|---|
| 6 | name := exMPI02#
|
|---|
| 7 | G4TARGET := $(name)
|
|---|
| 8 | G4EXLIB := true
|
|---|
| 9 |
|
|---|
| 10 | G4WORKDIR := .
|
|---|
| 11 |
|
|---|
| 12 | .PHONY: all
|
|---|
| 13 | all: lib bin
|
|---|
| 14 |
|
|---|
| 15 | include $(G4INSTALL)/config/binmake.gmk
|
|---|
| 16 | include ../mpi_interface/G4MPI.gmk
|
|---|
| 17 |
|
|---|
| 18 | LDLIBS1 += -lG4UImpi
|
|---|
| 19 |
|
|---|
| 20 | ifdef ROOTSYS
|
|---|
| 21 | CPPFLAGS += -I$(shell $(ROOTSYS)/bin/root-config --incdir)
|
|---|
| 22 | LDLIBS += $(shell $(ROOTSYS)/bin/root-config --libs)
|
|---|
| 23 | endif
|
|---|
| 24 |
|
|---|
| 25 | ifeq ($(G4SYSTEM),Linux-g++)
|
|---|
| 26 | LDLIBS += -Wl,-rpath,$(shell $(ROOTSYS)/bin/root-config --libdir)
|
|---|
| 27 | endif
|
|---|
| 28 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.