mirror of
https://github.com/simh/simh.git
synced 2026-01-14 15:45:18 +00:00
makefile: Fix OS X build to correctly supply input events for video capable sims
This commit is contained in:
parent
fb36c22058
commit
736e341fd2
6
makefile
6
makefile
@ -431,6 +431,9 @@ ifeq ($(WIN32),) #*nix Environments (&& cygwin)
|
||||
DISPLAYVT = ${DISPLAYD}/vt11.c
|
||||
DISPLAY_OPT += -DUSE_DISPLAY $(VIDEO_CCDEFS) $(VIDEO_LDFLAGS)
|
||||
$(info using libSDL2: $(call find_include,SDL2/SDL))
|
||||
ifeq (Darwin,$(OSTYPE))
|
||||
VIDEO_CCDEFS += -DSDL_MAIN_AVAILABLE
|
||||
endif
|
||||
endif
|
||||
else
|
||||
ifneq (,$(call find_include,SDL/SDL))
|
||||
@ -442,6 +445,9 @@ ifeq ($(WIN32),) #*nix Environments (&& cygwin)
|
||||
DISPLAYVT = ${DISPLAYD}/vt11.c
|
||||
DISPLAY_OPT += -DUSE_DISPLAY $(VIDEO_CCDEFS) $(VIDEO_LDFLAGS)
|
||||
$(info using libSDL: $(call find_include,SDL/SDL))
|
||||
ifeq (Darwin,$(OSTYPE))
|
||||
VIDEO_CCDEFS += -DSDL_MAIN_AVAILABLE
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user