summaryrefslogtreecommitdiff
path: root/Make.config
diff options
context:
space:
mode:
Diffstat (limited to 'Make.config')
-rw-r--r--Make.config36
1 files changed, 36 insertions, 0 deletions
diff --git a/Make.config b/Make.config
new file mode 100644
index 0000000..cdafd16
--- /dev/null
+++ b/Make.config
@@ -0,0 +1,36 @@
+#
+# 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
+
+### 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
+