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