mirror of
https://github.com/simh/simh.git
synced 2026-01-11 23:52:58 +00:00
makefile: Add option to explicitly build without SDL2 video: NOVIDEO=1
This commit is contained in:
parent
0f992e1db7
commit
3d40da5539
8
makefile
8
makefile
@ -36,6 +36,10 @@
|
||||
# simulators without networking support, invoking GNU make with
|
||||
# NONETWORK=1 will do the trick.
|
||||
#
|
||||
# By default, video support is enabled if the SDL/SDL2 development
|
||||
# headers and libraries are available. To force a build without video
|
||||
# support, invoke GNU make with NOVIDEO=1.
|
||||
#
|
||||
# The default build will build compiler optimized binaries.
|
||||
# If debugging is desired, then GNU make can be invoked with
|
||||
# DEBUG=1 on the command line.
|
||||
@ -145,6 +149,10 @@ endif
|
||||
ifneq ($(NONETWORK),)
|
||||
NETWORK_USEFUL =
|
||||
endif
|
||||
# ... or without video support
|
||||
ifneq ($(NOVIDEO),)
|
||||
VIDEO_USEFUL =
|
||||
endif
|
||||
find_exe = $(abspath $(strip $(firstword $(foreach dir,$(strip $(subst :, ,${PATH})),$(wildcard $(dir)/$(1))))))
|
||||
find_lib = $(abspath $(strip $(firstword $(foreach dir,$(strip ${LIBPATH}),$(wildcard $(dir)/lib$(1).${LIBEXT})))))
|
||||
find_include = $(abspath $(strip $(firstword $(foreach dir,$(strip ${INCPATH}),$(wildcard $(dir)/$(1).h)))))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user