]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVE/Reve/Makefile
Support for automatic pedestal estimation per pad (Marian and Matevz).
[u/mrichter/AliRoot.git] / EVE / Reve / Makefile
CommitLineData
5a5a1232 1# $Header$
2
3# MODULE ~include sub-directory, namespace
4# NAME ~ name of the library
5
6MODULE = Reve
7NAME = Reve
8LIBNAME = lib${NAME}.${LDEXT}
9DICTSTEM = ${NAME}_Dict
10
11HDRS = $(filter-out %LinkDef.h %_Dict.h, $(wildcard *.h))
12SRCS = $(wildcard *.cxx)
13OBJS = $(SRCS:.cxx=.o)
14LIBOBJS = ${OBJS} ${DICTSTEM}.o
15ALLOBJS = ${LIBOBJS} reve_main/reve_main.o
16
17LIBS = ${LIBNAME}
18EXES = reve
19
20ROOTLIBS = $(shell root-config --libs)
21ROOTGLIBS = $(shell root-config --glibs)
22
23include ../make_base.inc
24
25${LIBNAME}: ${LIBOBJS}
26 ${LD} ${LDFLAGS} -o $@ $^
27
28${DICTSTEM}.cc: ${HDRS} LinkDef.h
29 ${ROOTCINT} -f $@ -c ${ROOTCINTFLAGS} $^
30
31reve: reve_main/reve_main.o ${LIBNAME}
32 ${CXX} ${CPPFLAGS} -o $@ ${CXXFLAGS} $< -L. -lReve \
33 ${ROOTGLIBS} -lTreePlayer -lEG -lGeom -lGeomPainter -lGed -lRGL