1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/pkg/u8g2/Makefile.include

15 lines
356 B
Makefile

INCLUDES += -I$(PKGDIRBASE)/u8g2/csrc
INCLUDES += -I$(RIOTBASE)/pkg/u8g2/contrib
DIRS += $(RIOTBASE)/pkg/u8g2/contrib
# The RIOT-OS interface needs this to store peripheral information.
CFLAGS += -DU8X8_WITH_USER_PTR
# Link SDL if enabled.
ifneq (,$(filter u8g2_sdl,$(USEMODULE)))
LINKFLAGS += $(shell sdl2-config --libs)
endif
PSEUDOMODULES += u8g2