source: branches/Mars_use_drstimefiles/Makefile.conf.general@ 18481

Last change on this file since 18481 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
5ROOTLIBS := $(shell root-config --libs) -lASImage -lMinuit -lHistPainter -lThread
6ROOTGLIBS := $(shell root-config --glibs) -lASImage -lMinuit -lHistPainter -lThread
7ROOTCFLAGS := $(shell root-config --cflags)
8
9SVN_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#
21OSTYPE = $(shell uname -s | tr '[:upper:]' '[:lower:]')
22
23DEFINES := -DMARSVER=\"\<cvs\>\" -DPACKAGE_VERSION=\"2.4\" -D__MARS__ $(MARSDEFINES) -DHAVE_ZLIB -DPACKAGE_NAME=\"MARS\ CheObs\" ${SVN_REVISION}
24
25CXXFLAGS = $(ROOTCFLAGS) $(INCLUDES) $(OPTIM) $(DEBUG) $(ARCHDEF) $(DEFINES)
26CFLAGS = $(CXXFLAGS) $(MARSFLAGS)
27FFLAGS = $(CXXFLAGS)
28
29HEADERS = $(subst .cxx,.hxx,$(subst .cc,.h,$(SRCFILES)))
30OBJS = $(subst .cxx,.o, $(subst .cc,.o,$(SRCFILES))) $(CINT)Cint.o
Note: See TracBrowser for help on using the repository browser.