Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F10664404
Makefile
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
984 B
Subscribers
None
Makefile
View Options
include ../MakefileCommonOpt
CSUFF = cc
HSUFF = hh
INCLUDE += $(ROOTCFLAGS) -I../
LIBDIR = ../libs
SRCS = $(wildcard *.$(CSUFF))
OBJS = $(patsubst %.$(CSUFF),%.o,$(SRCS))
HEADERS = $(patsubst %.$(CSUFF),%.$(HSUFF),$(SRCS))
NAME = D0Jet
DYNLIB = lib$(NAME).so
#OBJS += $(NAME)Dict.o
# this sets the path for the objects files :
vpath %.o $(LIBDIR)
vpath %.so $(LIBDIR)
all : $(DYNLIB)
$(DYNLIB): $(OBJS) $(NAME)Dict.o
$(LD) $(SOFLAGS) $(LDFLAGS) $(patsubst %,$(LIBDIR)/%,$^) $(OutPutOpt) $(LIBDIR)/$@ $(EXPLLINKLIBS)
@echo "$@ done"
.SUFFIXES: .$(CSUFF)
$(NAME)Dict.cpp: $(HEADERS) $(NAME)LinkDef.hpp
@echo "Generating dictionary $@... $^"
@rootcint -f $@ -c -I../ $^
$(NAME)Dict.o: $(NAME)Dict.cpp
$(CXX) $(CXXFLAGS) $(INCLUDE) -c $^ -o $(LIBDIR)/$@
%.o : %.$(CSUFF) %.$(HSUFF)
$(CXX) $(CXXFLAGS) $(INCLUDE) -c $< -o $(LIBDIR)/$@
clean:
rm -f *.o *.so *Dict.*
rm -f $(patsubst %, $(LIBDIR)/%, $(OBJS)) $(LIBDIR)/$(NAME)Dict.o $(LIBDIR)/$(DYNLIB)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 24, 6:38 AM (1 d, 19 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4850904
Default Alt Text
Makefile (984 B)
Attached To
rSPARTYJETSVN spartyjetsvn
Event Timeline
Log In to Comment