Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F10881071
Makefile
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
Makefile
View Options
include MakefileCommonOpt
DIRS = External IO JetCore FastJetTools JetTools ExternalTools EventShape SpartyDisplay UserPlugins examples_C
DIRSC = $(patsubst %, %C, $(DIRS))
.PHONY : $(DIRS) $(DIRSC) config
all : libs config $(DIRS)
@echo Done !
libs :
@mkdir libs
$(DIRS) : libs
@echo $@
$(MAKE) -C $@
$(DIRSC) :
@echo $@
$(MAKE) -C $(patsubst %C,% ,$@) clean
fastjet:
@echo "Installing fastjet ($(version)) in $(FASTJETDIR)"
@cd External && curl http://www.lpthe.jussieu.fr/~salam/fastjet/repo/fastjet-$(version).tar.gz > fastjet-$(version).tar.gz && tar -xvzf fastjet-$(version).tar.gz
@echo "Compiling fastjet:"
@cd External/fastjet-$(version) && ./configure --enable-allcxxplugins --with-pic --prefix=$(FASTJETDIR) && make && make install
@echo "Fastjet install complete"
clean : $(DIRSC)
distclean : clean
@rm -rf libs
@rm -f python/*.pyc
@rm -f SpartyDisplay/*.pyc
@rm -f data/output/*
@rm -rf External/fastjet*/
@rm -f External/fastjet*gz
@rm -rf External/wtag-1.00/
@rm -f SJconfig.h
# hack of a config file implementation to fake CMake's config file
config:
@rm -f SJconfig.h
@echo "#define SPARTYJET_VERSION_MAJOR 3" >> SJconfig.h
@echo "#define SPARTYJET_VERSION_MINOR 6" >> SJconfig.h
@echo "#define SPARTYJET_DIR \"$(shell pwd)\"" >> SJconfig.h
ifneq (,$(DO_STDHEP))
@echo "#define DO_STDHEP" >> SJconfig.h
endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, May 3, 5:51 AM (16 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4982834
Default Alt Text
Makefile (1 KB)
Attached To
rSPARTYJETSVN spartyjetsvn
Event Timeline
Log In to Comment