source: trunk/examples/extended/parallel/MPI/exMPI02/GNUmakefile

Last change on this file was 1337, checked in by garnier, 14 years ago

tag geant4.9.4 beta 1 + modifs locales

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