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

Last change on this file since 20115 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
5ROOTGLIBS = `root-config --glibs` -lMinuit -lpng
6ROOTCFLAGS = `root-config --cflags`
7
8#GLIBFLAGS = `glib-config --cflags`
9#GLIBLIBS = `glib-config --libs`
10
11OSTYPE = $(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
21CANDEFS = -DCPU=486 -DBUS_LITTLE_ENDIAN -DDEBUG=0 -DLINUX -D__LINUX__ -DSHOW
22DEFINES = -D__COSY__ -DMARSVER=\"Cosy\" -DROOTVER=\"$(ROOTVER)\" $(CANDEFS) $(ARCHDEF)
23
24CXXFLAGS = $(DEBUG) $(OPTIMCXX) $(ROOTCFLAGS) $(INCLUDES) $(DEFINES) $(GLIBFLAGS)
25CFLAGS = $(DEBUG) $(OPTIMC)
26FFLAGS = $(CXXFLAGS)
27
28HEADERS = $(subst .cxx,.hxx,$(subst .cc,.h,$(SRCFILES)))
29OBJS = $(subst .c,.o, $(subst .cxx,.o, $(subst .cc,.o,$(SRCFILES)))) $(CINT)Cint.o
Note: See TracBrowser for help on using the repository browser.