Page MenuHomeHEPForge

Makefile
No OneTemporary

Makefile

# 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

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)

Event Timeline