Last change
on this file since 18045 was 17245, checked in by tbretz, 11 years ago |
Added definees for PACKAGE_NAME, PACKAGE_VERSION and REVISION
|
File size:
995 bytes
|
Line | |
---|
1 | #
|
---|
2 | # ----->>> root libraries
|
---|
3 | #
|
---|
4 |
|
---|
5 | ROOTLIBS := $(shell root-config --libs) -lASImage -lMinuit -lHistPainter -lThread
|
---|
6 | ROOTGLIBS := $(shell root-config --glibs) -lASImage -lMinuit -lHistPainter -lThread
|
---|
7 | ROOTCFLAGS := $(shell root-config --cflags)
|
---|
8 |
|
---|
9 | SVN_REVISION := -DREVISION=\"$(shell svnversion -n .)\"
|
---|
10 |
|
---|
11 | #
|
---|
12 | # compiler flags
|
---|
13 | #
|
---|
14 |
|
---|
15 | #
|
---|
16 | # You can use this flags to further costumize compilation:
|
---|
17 | # export MARSDEFINES="-DHAVE_DARKBACKGROUND -DHAVE_XPM"
|
---|
18 | # export MARSFLAGS=
|
---|
19 | # export MARSLIBS="-lX11 -lXpm -L/usr/X11R6/lib"
|
---|
20 | #
|
---|
21 | OSTYPE = $(shell uname -s | tr '[:upper:]' '[:lower:]')
|
---|
22 |
|
---|
23 | DEFINES := -DMARSVER=\"\<cvs\>\" -DPACKAGE_VERSION=\"2.4\" -D__MARS__ $(MARSDEFINES) -DHAVE_ZLIB -DPACKAGE_NAME=\"MARS\ CheObs\" ${SVN_REVISION}
|
---|
24 |
|
---|
25 | CXXFLAGS = $(ROOTCFLAGS) $(INCLUDES) $(OPTIM) $(DEBUG) $(ARCHDEF) $(DEFINES)
|
---|
26 | CFLAGS = $(CXXFLAGS) $(MARSFLAGS)
|
---|
27 | FFLAGS = $(CXXFLAGS)
|
---|
28 |
|
---|
29 | HEADERS = $(subst .cxx,.hxx,$(subst .cc,.h,$(SRCFILES)))
|
---|
30 | OBJS = $(subst .cxx,.o, $(subst .cc,.o,$(SRCFILES))) $(CINT)Cint.o
|
---|
Note:
See
TracBrowser
for help on using the repository browser.