Line | |
---|
1 | #
|
---|
2 | # ----->>> root libraries
|
---|
3 | #
|
---|
4 |
|
---|
5 | ROOTLIBS = `root-config --libs` -lASImage -lMinuit -lHistPainter -lThread
|
---|
6 | ROOTGLIBS = `root-config --glibs` -lASImage -lMinuit -lHistPainter -lThread
|
---|
7 | ROOTCFLAGS = `root-config --cflags`
|
---|
8 |
|
---|
9 | #GLIBFLAGS = `glib-config --cflags`
|
---|
10 | #GLIBLIBS = `glib-config --libs`
|
---|
11 |
|
---|
12 | OSTYPE = $(shell uname -s | tr '[:upper:]' '[:lower:]')
|
---|
13 |
|
---|
14 | #
|
---|
15 | # You can use this flags to further costumize compilation:
|
---|
16 | # export MARSDEFINES="-DHAVE_DARKBACKGROUND -DHAVE_XPM"
|
---|
17 | # export MARSFLAGS=
|
---|
18 | # export MARSLIBS="-lX11 -lXpm -L/usr/X11R6/lib"
|
---|
19 | #
|
---|
20 | #DEFINES = -DMARSVER=\"\<cvs\>\" -D__MARS__ $(ARCHDEF) $(MARSDEFINES)
|
---|
21 |
|
---|
22 | CANDEFS = -DCPU=486 -DBUS_LITTLE_ENDIAN -DDEBUG=0 -DLINUX -D__LINUX__ -DSHOW
|
---|
23 | DEFINES = -D__COSY__ -DMARSVER=\"Cosy\" -DROOTVER=\"$(ROOTVER)\" $(CANDEFS) $(ARCHDEF)
|
---|
24 |
|
---|
25 | CXXFLAGS = $(DEBUG) $(OPTIMCXX) $(ROOTCFLAGS) $(INCLUDES) $(DEFINES) $(GLIBFLAGS)
|
---|
26 | CFLAGS = $(DEBUG) $(OPTIMC)
|
---|
27 | FFLAGS = $(CXXFLAGS)
|
---|
28 |
|
---|
29 | HEADERS = $(subst .cxx,.hxx,$(subst .cc,.h,$(SRCFILES)))
|
---|
30 | OBJS = $(subst .c,.o, $(subst .cxx,.o, $(subst .cc,.o,$(SRCFILES)))) $(CINT)Cint.o
|
---|
Note:
See
TracBrowser
for help on using the repository browser.