Commit 67b77f6d authored by Lynn Garren's avatar Lynn Garren
Browse files

fix example makefiles

parent 584ebfbe
#
# HepMC examples makefile
#
# use: gmake [INCDIR= ] [CXX= ] [LIBNAME= ] [PythiaLIB= ] all
# gmake [INCDIR= ] [CXX= ] [LIBNAME= ] [PythiaLIB= ] run
# use: gmake [INCDIR= ] [CXX= ] [LIBNAME= ] all
# gmake [INCDIR= ] [CXX= ] [LIBNAME= ] run
#
# other variables:
# [PythiaLIB= ]
# [HerwigLIB= ]
#
################################################################################
......@@ -27,8 +31,8 @@ endif
INCDIR = -I$(CLHEP_DIR)/include
HepMCinc = $(INCDIR)/CLHEP/HepMC
PythiaLIB = $(LULIB)/pydata.o $(LULIB)/liblund.a $(LULIB)/libpydum.a
HerwigLIB = $(HERWIG_DIR)/lib/libherwig.a $(HERWIG_DIR)/lib/libherdum.a
LIBNAME = $(CLHEP_DIR)/lib/libCLHEP-1.9.0.0.a
HerwigLIB = $(HERWIG_DIR)/lib/timel.o $(HERWIG_DIR)/lib/libherwig.a $(HERWIG_DIR)/lib/libherdum.a
LIBNAME = $(CLHEP_DIR)/lib/libCLHEP-2.0.0.0.a
################################################################################
......@@ -95,9 +99,9 @@ all: $(examples)
run: $(runList) $(runListAscii)
example_MyHerwig.exe: example_MyHerwig$(SFX).o IO_HERWIG$(SFX).o
example_MyHerwig.exe: example_MyHerwig$(SFX).o
@echo "Building $@ ..."
$(CXX) $(FLAGS) example_MyHerwig$(SFX).o IO_HERWIG$(SFX).o \
$(CXX) $(FLAGS) example_MyHerwig$(SFX).o \
$(LIBNAME) \
$(HerwigLIB) $(LINK_LIBS) -o $@
......
#
# $Id: GNUmakefile,v 1.1.1.1 2003/07/15 20:15:05 garren Exp $
# $Id: GNUmakefile,v 1.2 2003/10/24 21:44:45 garren Exp $
#
# makefile for HepPDT examples
#
......@@ -23,11 +23,11 @@ ifndef CXX
endif
ifndef PDTLIB
PDTLIB = ../../../lib/libCLHEP-g++.1.8.0.0.a
PDTLIB = $(CLHEP_DIR)/lib/libCLHEP-2.0.0.0.a
endif
ifndef INCDIR
INCDIR = -I../../../include
INCDIR = -I$(CLHEP_DIR)/include
endif
AR=ar
......@@ -36,7 +36,7 @@ ARFLG = -urs
CXXFLAGS = $(DFLG) $(INCDIR)
ifeq "$(CXX)" "KCC"
CXXFLAGS += +K0 -O0 --no_implicit_include --one_per
PDTLIB = ../../../lib/libCLHEP-KCC.1.7.0.0.a
PDTLIB = $(CLHEP_DIR)/lib/libCLHEP-KCC.1.7.0.0.a
endif
SOURCE = $(wildcard *.cc)
......
......@@ -11,7 +11,7 @@ ifndef CXX
endif
ifndef LIBNAME
LIBNAME = libCLHEP-1.9.0.0.a
LIBNAME = libCLHEP-2.0.0.0.a
endif
ifndef PythiaLIB
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment