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