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 | #
|
---|
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 | #DEFINES = -DMARSVER=\"\<cvs\>\" -D__MARS__ $(ARCHDEF) $(MARSDEFINES)
|
---|
23 |
|
---|
24 | CANDEFS = -DCPU=486 -DBUS_LITTLE_ENDIAN -DDEBUG=0 -DLINUX -D__LINUX__ -DSHOW
|
---|
25 | DEFINES = -D__COSY__ -DMARSVER=\"Cosy\" -DROOTVER=\"$(ROOTVER)\" $(CANDEFS) $(ARCHDEF)
|
---|
26 |
|
---|
27 | CXXFLAGS = $(DEBUG) $(OPTIMCXX) $(ROOTCFLAGS) $(INCLUDES) $(DEFINES) $(GLIBFLAGS)
|
---|
28 | CFLAGS = $(DEBUG) $(OPTIMC)
|
---|
29 | FFLAGS = $(CXXFLAGS)
|
---|
30 |
|
---|
31 | HEADERS = $(subst .cxx,.hxx,$(subst .cc,.h,$(SRCFILES)))
|
---|
32 | OBJS = $(subst .c,.o, $(subst .cxx,.o, $(subst .cc,.o,$(SRCFILES)))) $(CINT)Cint.o
|
---|
Note:
See
TracBrowser
for help on using the repository browser.