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 | #
|
---|
10 | # compiler flags
|
---|
11 | #
|
---|
12 |
|
---|
13 | #
|
---|
14 | # You can use this flags to further costumize compilation:
|
---|
15 | # export MARSDEFINES="-DHAVE_DARKBACKGROUND -DHAVE_XPM"
|
---|
16 | # export MARSFLAGS=
|
---|
17 | # export MARSLIBS="-lX11 -lXpm -L/usr/X11R6/lib"
|
---|
18 | #
|
---|
19 | OSTYPE = $(shell uname -s | tr '[:upper:]' '[:lower:]')
|
---|
20 |
|
---|
21 | DEFINES := -DMARSVER=\"\<cvs\>\" -D__MARS__ $(ARCHDEF) $(MARSDEFINES)
|
---|
22 |
|
---|
23 | CXXFLAGS = $(ROOTCFLAGS) $(INCLUDES) $(OPTIM) $(DEBUG) $(DEFINES)
|
---|
24 | CFLAGS = $(CXXFLAGS) $(MARSFLAGS)
|
---|
25 | FFLAGS = $(CXXFLAGS)
|
---|
26 |
|
---|
27 | HEADERS = $(subst .cxx,.hxx,$(subst .cc,.h,$(SRCFILES)))
|
---|
28 | OBJS = $(subst .cxx,.o, $(subst .cc,.o,$(SRCFILES))) $(CINT)Cint.o
|
---|
Note:
See
TracBrowser
for help on using the repository browser.