From ccde54722f2c284fb0e7fc273d65c57a3be71db1 Mon Sep 17 00:00:00 2001 From: inmarket Date: Mon, 8 Jun 2015 14:14:40 +1000 Subject: Added ability to compile ugfx as a single file (excluding driver and board files). Simply compile src/gfx_mk.c --- src/gdisp/gdisp_mk.c | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/gdisp/gdisp_mk.c (limited to 'src/gdisp/gdisp_mk.c') diff --git a/src/gdisp/gdisp_mk.c b/src/gdisp/gdisp_mk.c new file mode 100644 index 00000000..3209b3d0 --- /dev/null +++ b/src/gdisp/gdisp_mk.c @@ -0,0 +1,29 @@ +/* + * This file is subject to the terms of the GFX License. If a copy of + * the license was not distributed with this file, you can obtain one at: + * + * http://ugfx.org/license.html + */ + +/* The very first thing that has to be compiled here is mf_font.c so that + * inclusion of the font header files does not stop the inclusion of the + * implementation specific parts of the font files. + */ +#include "mcufont/mf_font.c" +#include "mcufont/mf_rlefont.c" +#include "mcufont/mf_bwfont.c" +#include "mcufont/mf_scaledfont.c" +#include "mcufont/mf_encoding.c" +#include "mcufont/mf_justify.c" +#include "mcufont/mf_kerning.c" +#include "mcufont/mf_wordwrap.c" + +#include "gdisp.c" +#include "gdisp_fonts.c" +#include "gdisp_pixmap.c" +#include "gdisp_image.c" +#include "gdisp_image_native.c" +#include "gdisp_image_gif.c" +#include "gdisp_image_bmp.c" +#include "gdisp_image_jpg.c" +#include "gdisp_image_png.c" -- cgit v1.2.3