QMK/lib/ugfx/drivers/multiple/SDL/driver.mk

6 lines
309 B
Makefile
Raw Normal View History

2020-03-23 10:48:11 +01:00
GFXINC += $(GFXLIB)/drivers/multiple/SDL
GFXSRC += $(GFXLIB)/drivers/multiple/SDL/gdisp_lld_SDL.c
GFXDEFS += GFX_OS_PRE_INIT_FUNCTION=sdl_driver_init
CFLAGS += `sdl2-config --cflags || /usr/local/bin/sdl2-config --cflags`
LDFLAGS += `sdl2-config --libs --cflags || /usr/local/bin/sdl2-config --libs --cflags`