Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F10664301
MakefileCommonOpt
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
MakefileCommonOpt
View Options
# emacs, this is a -*- Makefile -*-
#--------------------------------------------------------------------
# Set Platform type: LINUX or MAC_OSX
PLATFORM_TYPE := $(shell uname -s)
#--------------------------------------------------------------------
ifeq ($(PLATFORM_TYPE), Linux)
DO_FPIC := -fpic
SOFLAGS := -shared
else
ifeq ($(PLATFORM_TYPE), Darwin)
DO_FPIC := -fPIC
SOFLAGS := -dynamiclib -undefined dynamic_lookup
endif
endif
CXX = g++
CXXFLAGS = -Wall -g -O3 $(DO_FPIC) -fno-strict-aliasing # in some cases, no flags produce faster code than -O ones !!
#CXXFLAGS = -g
LD = g++
LDFLAGS = -O3 $(DO_FPIC)
cppExtension := .cc # File extension of source files
CPPFLAGS += # List flags to pass to C/C++ preprocessor
OutPutOpt = -o # keep whitespace after "-o"
ROOTCFLAGS := $(shell root-config --cflags)
ROOTLDFLAGS := $(shell root-config --ldflags)
ROOTLIBS := $(shell root-config --libs)
ROOTGLIBS := $(shell root-config --glibs)
ROOTAUXLIBS := $(shell root-config --auxlibs)
HASTHREAD := $(shell root-config --has-thread)
LDFLAGS += $(ROOTLDFLAGS)
# Uncomment the following line to enable StdHEP input (needs g77)
#DO_STDHEP = 1
## FastJet options ----------------------------------------
# By default, use fastjet version shipped with spartyjet.
# To use an external fast jet version, uncomment the
# following line :
FASTJETDIR = $(PWD)/fastjet_build/
# At cern, on lxplus, one can use :
# FASTJETDIR = /afs/cern.ch/sw/lcg/external/fastjet/2.3.4/slc4_ia32_gcc34/
## ----------------------------------------
File Metadata
Details
Attached
Mime Type
text/x-makefile
Expires
Thu, Apr 24, 6:36 AM (1 d, 15 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4857712
Default Alt Text
MakefileCommonOpt (1 KB)
Attached To
rSPARTYJETSVN spartyjetsvn
Event Timeline
Log In to Comment