source: trunk/Cosy/Makefile.conf.general@ 12599

Last change on this file since 12599 was 10026, checked in by tbretz, 14 years ago
Removed necessity of defining OSTYPE.
File size: 1.0 KB
Line 
1#
2# ----->>> root libraries
3#
4
5ROOTLIBS = `root-config --libs` -lASImage -lMinuit -lHistPainter -lThread
6ROOTGLIBS = `root-config --glibs` -lASImage -lMinuit -lHistPainter -lThread
7ROOTCFLAGS = `root-config --cflags`
8
9#GLIBFLAGS = `glib-config --cflags`
10#GLIBLIBS = `glib-config --libs`
11
12OSTYPE = $(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
22CANDEFS = -DCPU=486 -DBUS_LITTLE_ENDIAN -DDEBUG=0 -DLINUX -D__LINUX__ -DSHOW
23DEFINES = -D__COSY__ -DMARSVER=\"Cosy\" -DROOTVER=\"$(ROOTVER)\" $(CANDEFS) $(ARCHDEF)
24
25CXXFLAGS = $(DEBUG) $(OPTIMCXX) $(ROOTCFLAGS) $(INCLUDES) $(DEFINES) $(GLIBFLAGS)
26CFLAGS = $(DEBUG) $(OPTIMC)
27FFLAGS = $(CXXFLAGS)
28
29HEADERS = $(subst .cxx,.hxx,$(subst .cc,.h,$(SRCFILES)))
30OBJS = $(subst .c,.o, $(subst .cxx,.o, $(subst .cc,.o,$(SRCFILES)))) $(CINT)Cint.o
Note: See TracBrowser for help on using the repository browser.