Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F10664179
Makefile
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
Makefile
View Options
# emacs, this is a -*- Makefile -*-
include ../MakefileCommonOpt
NAME = External
LIBDIR = ../libs
DYNLIB = lib$(NAME).so
# w-tag code
WTAG := wtag-1.00
OBJS += wtag.o
INCLUDE += -I$(WTAG)/include
LDFLAGS += $(shell root-config --libs) -lTMVA -lMinuit
export INCLUDE
# this sets the path for the objects files :
vpath %.o $(LIBDIR)
vpath %.so $(LIBDIR)
all : $(DYNLIB)
.PHONY: clean
$(DYNLIB): $(OBJS) $(NAME)Dict.o
@echo "Building shared object library: ../libs/$@"
$(LD) $(SOFLAGS) $(LDFLAGS) $(patsubst %,$(LIBDIR)/%,$^) $(OutPutOpt) $(LIBDIR)/$@
@echo "$@ done"
$(NAME)Dict.cpp: $(HEADERS) $(NAME)LinkDef.hpp
@echo "Generating dictionary: $@"
rootcint -f $@ -c -p $(INCLUDE) $^
@echo "$@ done"
$(NAME)Dict.o: $(NAME)Dict.cpp
$(CXX) $(CXXFLAGS) $(INCLUDE) -c $^ -o $(LIBDIR)/$@
# w-tag code
wtag.o: $(WTAG)
cp Makefile-wtag $(WTAG)/Makefile
$(MAKE) -e -C $(WTAG)
$(WTAG):
tar xzf wtag-1.00.tar.gz
%.o : %.$(CSUFF)
$(CXX) $(CXXFLAGS) $(INCLUDE) -c $< -o $(LIBDIR)/$@
clean: $(PLUGINSC)
rm -f $(patsubst %,$(LIBDIR)/%,$(OBJS) $(NAME)Dict.o) *Dict.*
rm -f $(LIBDIR)/$(DYNLIB)
File Metadata
Details
Attached
Mime Type
text/x-makefile
Expires
Thu, Apr 24, 6:31 AM (1 d, 15 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4884262
Default Alt Text
Makefile (1 KB)
Attached To
rSPARTYJETSVN spartyjetsvn
Event Timeline
Log In to Comment