Rev | Line | |
---|
[807] | 1 | # $Id: GNUmakefile,v 1.1 2006/11/22 14:51:26 gcosmo Exp $ |
---|
| 2 | # -------------------------------------------------------------- |
---|
| 3 | # GNUmakefile for examples module. |
---|
| 4 | # -------------------------------------------------------------- |
---|
| 5 | name := mctruthex |
---|
| 6 | G4TARGET := $(name) |
---|
| 7 | G4EXLIB := true |
---|
| 8 | |
---|
| 9 | ifndef G4INSTALL |
---|
| 10 | G4INSTALL = ../../../../.. |
---|
| 11 | endif |
---|
| 12 | |
---|
| 13 | .PHONY: all |
---|
| 14 | |
---|
| 15 | ifdef HEPMC_DIR |
---|
| 16 | all: lib bin |
---|
| 17 | include $(G4INSTALL)/config/binmake.gmk |
---|
| 18 | |
---|
| 19 | INCFLAGS += -I$(HEPMC_DIR)/include |
---|
| 20 | LDLIBS += -L$(HEPMC_DIR)/lib -lHepMC |
---|
| 21 | else |
---|
| 22 | all: |
---|
| 23 | @echo 'ERROR - HEPMC_DIR not defined in the environment !' |
---|
| 24 | @echo ' Requires HepMC release 1.27.' |
---|
| 25 | endif |
---|
Note: See
TracBrowser
for help on using the repository browser.