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

17 lines
387 B
Makefile
Raw Normal View History

2017-02-25 15:41:39 +01:00
INCLUDES += -I$(PKGDIRBASE)/u8g2/csrc
INCLUDES += -I$(RIOTBASE)/pkg/u8g2/contrib
DIRS += $(RIOTBASE)/pkg/u8g2/contrib
2016-06-14 20:26:27 +02:00
# The RIOT-OS interface needs this to store peripheral information.
2023-02-17 13:12:00 +01:00
ifneq (native, $(CPU))
CFLAGS += -DU8X8_WITH_USER_PTR
endif
2016-06-14 20:26:27 +02:00
# Link SDL if enabled.
ifneq (,$(filter u8g2_sdl,$(USEMODULE)))
LINKFLAGS += $(shell sdl2-config --libs)
2016-06-14 20:26:27 +02:00
endif
PSEUDOMODULES += u8g2