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