source: branches/AddingGoogleTestEnvironment/Makefile.conf.general@ 20099

Last change on this file since 20099 was 18015, checked in by smueller, 10 years ago
Google Test, new executeable run_test. From now on gtest is required to build MARS. Makefile was adjusted to build the new run_test executeable and link it with gtest libs. A first test was made for the MMatrix Container. All tests are in a new mtest folder.
File size: 1.0 KB
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)
8GTESTLIBS := -lgtest -lpthread
9
10SVN_REVISION := -DREVISION=\"$(shell svnversion -n .)\"
11
12#
13# compiler flags
14#
15
16#
17# You can use this flags to further costumize compilation:
18# export MARSDEFINES="-DHAVE_DARKBACKGROUND -DHAVE_XPM"
19# export MARSFLAGS=
20# export MARSLIBS="-lX11 -lXpm -L/usr/X11R6/lib"
21#
22OSTYPE = $(shell uname -s | tr '[:upper:]' '[:lower:]')
23
24DEFINES := -DMARSVER=\"\<cvs\>\" -DPACKAGE_VERSION=\"2.4\" -D__MARS__ $(MARSDEFINES) -DHAVE_ZLIB -DPACKAGE_NAME=\"MARS\ CheObs\" ${SVN_REVISION}
25
26CXXFLAGS = $(ROOTCFLAGS) $(INCLUDES) $(OPTIM) $(DEBUG) $(ARCHDEF) $(DEFINES)
27CFLAGS = $(CXXFLAGS) $(MARSFLAGS)
28FFLAGS = $(CXXFLAGS)
29
30HEADERS = $(subst .cxx,.hxx,$(subst .cc,.h,$(SRCFILES)))
31OBJS = $(subst .cxx,.o, $(subst .cc,.o,$(SRCFILES))) $(CINT)Cint.o
Note: See TracBrowser for help on using the repository browser.