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

Last change on this file since 807 was 807, checked in by garnier, 16 years ago

update

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