author | cpresser@slime-ws |
Sat, 26 Jul 2008 14:22:38 +0200 | |
changeset 25 | 96f051df5d60 |
parent 4 | df6a40031aa5 |
permissions | -rw-r--r-- |
root@4 | 1 |
# |
root@4 | 2 |
# User defined Makefile options for graphlcd daemon and tools |
root@4 | 3 |
|
root@4 | 4 |
### The C compiler and options: |
root@4 | 5 |
|
root@4 | 6 |
CC = gcc |
root@4 | 7 |
CFLAGS = -O2 |
root@4 | 8 |
|
root@4 | 9 |
CXX = g++ |
root@4 | 10 |
CXXFLAGS = -g -O2 -Wall -Woverloaded-virtual |
root@4 | 11 |
#CXXFLAGS = -g -ggdb -O0 -Wall -Woverloaded-virtual |
root@4 | 12 |
|
root@4 | 13 |
#LDFLAGS = -g -ggdb -O0 |
root@4 | 14 |
|
root@4 | 15 |
LDCONFIG = ldconfig |
root@4 | 16 |
|
root@4 | 17 |
### The directory environment: |
root@4 | 18 |
|
root@4 | 19 |
ifndef $(DESTDIR) |
root@4 | 20 |
DESTDIR = /usr/local |
root@4 | 21 |
endif |
root@4 | 22 |
|
root@4 | 23 |
BINDIR = $(DESTDIR)/bin |
root@4 | 24 |
LIBDIR = $(DESTDIR)/lib |
root@4 | 25 |
INCDIR = $(DESTDIR)/include |
root@4 | 26 |
MANDIR = $(DESTDIR)/man |
root@4 | 27 |
|
root@4 | 28 |
### Includes and defines |
root@4 | 29 |
|
root@4 | 30 |
#INCLUDES += -I |
root@4 | 31 |
|
root@4 | 32 |
DEFINES += -D_GNU_SOURCE |
root@4 | 33 |
|
root@4 | 34 |
# comment this variable out if you don't want to use FreeType2 font rendering |
root@4 | 35 |
HAVE_FREETYPE2=1 |
root@4 | 36 |