# # 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 CXXFLAGS += -MMD -MP # CXX set to clang++: force clang ifeq ($(CXX),clang++) CXX = clang endif # set CXXEXTRA according to compiler that is used ifeq ($(CXX),clang) CXXEXTRA = -x c++ -Qunused-arguments else CXXEXTRA = endif #LDFLAGS ?= -g -ggdb -O0 LDCONFIG = ldconfig ### The directory environment: DESTDIR ?= PREFIX ?= /usr/local BINDIR ?= $(PREFIX)/bin LIBDIR ?= $(PREFIX)/lib INCDIR ?= $(PREFIX)/include MANDIR ?= $(PREFIX)/share/man UDEVRULESDIR ?= /etc/udev/rules.d SYSCONFDIR ?= /etc ### Includes and defines #INCLUDES += -I DEFINES += -D_GNU_SOURCE # define HAVE_DEBUG when invoking "make" if you want to use debugging ifdef HAVE_DEBUG DEFINES += -DHAVE_DEBUG endif # # # Build & install configuration # comment this variable out if you don't want to use FreeType2 font rendering HAVE_FREETYPE2=1 # comment this variable out if you don't want to use fontconfig font names HAVE_FONTCONFIG=1 # comment this variable out if you want binaries to be stripped when installing (for production-level binaries or packages) #HAVE_STRIP = -s # uncomment one of the following two lines if you want either GraphicsMagick/ImageMagick support #HAVE_IMAGEMAGICK=1 #HAVE_GRAPHICSMAGICK=1 # comment this variable or set to 0 if you do not want to build the vncserver driver, even if requirements (libvncserver) are fullfilled on the system HAVE_DRIVER_VNCSERVER=1 ### Experimental drivers # uncomment this variable if you want to enable the experimental AX 206 based digital photo frame driver # Read DRIVER.ax206dpf before use! #HAVE_DRIVER_AX206DPF=1 # uncomment this variable if you want to enable the experimental support for picoLCD 256x64 #HAVE_DRIVER_picoLCD_256x64=1 #HAVE_DRIVER_SSD1306=1 #HAVE_DRIVER_ILI9341=1