summaryrefslogtreecommitdiff
path: root/Make.config
blob: 017f2b653046ef4c07de4929712f4c57c1437d82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#
# User defined Makefile options for graphlcd daemon and tools

### The C compiler and options:

CC       = gcc
CFLAGS   = -O2

CXX      = g++
CXXFLAGS = -g -O2 -Wall -Woverloaded-virtual
#CXXFLAGS = -g -ggdb -O0 -Wall -Woverloaded-virtual

#LDFLAGS  = -g -ggdb -O0

LDCONFIG = ldconfig

### strip binaries when installing by default, but allow easyly supressing it
STRIP ?= -s

### The directory environment:

ifndef $(DESTDIR)
DESTDIR = /usr/local
endif

BINDIR = $(DESTDIR)/bin
LIBDIR = $(DESTDIR)/lib
INCDIR = $(DESTDIR)/include
MANDIR = $(DESTDIR)/man

### Includes and defines

#INCLUDES += -I

DEFINES += -D_GNU_SOURCE

# comment this variable out if you don't want to use FreeType2 font rendering
HAVE_FREETYPE2=1