Last change
on this file since 20034 was 14588, checked in by tbretz, 12 years ago |
Fixed the order of compilation, added libpng
|
File size:
967 bytes
|
Line | |
---|
1 | #
|
---|
2 | # ----->>> root libraries
|
---|
3 | #
|
---|
4 |
|
---|
5 | ROOTGLIBS = `root-config --glibs` -lMinuit -lpng
|
---|
6 | ROOTCFLAGS = `root-config --cflags`
|
---|
7 |
|
---|
8 | #GLIBFLAGS = `glib-config --cflags`
|
---|
9 | #GLIBLIBS = `glib-config --libs`
|
---|
10 |
|
---|
11 | OSTYPE = $(shell uname -s | tr '[:upper:]' '[:lower:]')
|
---|
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 | #DEFINES = -DMARSVER=\"\<cvs\>\" -D__MARS__ $(ARCHDEF) $(MARSDEFINES)
|
---|
20 |
|
---|
21 | CANDEFS = -DCPU=486 -DBUS_LITTLE_ENDIAN -DDEBUG=0 -DLINUX -D__LINUX__ -DSHOW
|
---|
22 | DEFINES = -D__COSY__ -DMARSVER=\"Cosy\" -DROOTVER=\"$(ROOTVER)\" $(CANDEFS) $(ARCHDEF)
|
---|
23 |
|
---|
24 | CXXFLAGS = $(DEBUG) $(OPTIMCXX) $(ROOTCFLAGS) $(INCLUDES) $(DEFINES) $(GLIBFLAGS)
|
---|
25 | CFLAGS = $(DEBUG) $(OPTIMC)
|
---|
26 | FFLAGS = $(CXXFLAGS)
|
---|
27 |
|
---|
28 | HEADERS = $(subst .cxx,.hxx,$(subst .cc,.h,$(SRCFILES)))
|
---|
29 | OBJS = $(subst .c,.o, $(subst .cxx,.o, $(subst .cc,.o,$(SRCFILES)))) $(CINT)Cint.o
|
---|
Note:
See
TracBrowser
for help on using the repository browser.