SDL UI, fix SDL input and SDL window output mode for osx compile

NB for osx >= 10.14 you need SDL >= rev 13688 (ATM only available from SDL repo)
This commit is contained in:
kub 2020-08-02 23:17:57 +02:00
parent b74303b1a7
commit 1f49b75032
5 changed files with 19 additions and 7 deletions

View file

@ -206,6 +206,10 @@ include platform/common/common.mak
OBJS += $(OBJS_COMMON)
CFLAGS += $(addprefix -D,$(DEFINES))
ifneq (,$(findstring sdl,$(OBJS)))
CFLAGS += -DUSE_SDL
endif
ifneq ($(findstring gcc,$(CC)),)
LDFLAGS += -Wl,-Map=$(TARGET).map
endif