Files
geant4/examples/extended/eventgenerator/HepMC/MCTruth/GNUmakefile
T
2016-06-10 11:51:14 +02:00

26 lines
621 B
Makefile

# $Id: GNUmakefile 73446 2013-08-27 11:32:59Z gcosmo $
# --------------------------------------------------------------
# GNUmakefile for examples module.
# --------------------------------------------------------------
name := mctruthex
G4TARGET := $(name)
G4EXLIB := true
ifndef G4INSTALL
G4INSTALL = ../../../../..
endif
.PHONY: all
ifdef HEPMC_DIR
all: lib bin
include $(G4INSTALL)/config/binmake.gmk
INCFLAGS += -I$(HEPMC_DIR)/include
LDLIBS += -L$(HEPMC_DIR)/lib -lHepMC
else
all:
@echo 'ERROR - HEPMC_DIR not defined in the environment !'
@echo ' Tested with HepMC release 2.06.03.'
endif