mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
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:
parent
b74303b1a7
commit
1f49b75032
5 changed files with 19 additions and 7 deletions
4
Makefile
4
Makefile
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue