1
0
mirror of https://github.com/simh/simh.git synced 2026-03-23 17:22:11 +00:00

makefile: Remove irrelevant checks for VIDEO support building v3 simulators

This commit is contained in:
Mark Pizzolato
2022-09-04 19:14:44 -06:00
parent a847ee13a3
commit 7b78b6d313

View File

@@ -100,6 +100,7 @@ ifeq (old,$(shell gmake --version /dev/null 2>&1 | grep 'GNU Make' | awk '{ if (
$(warning *** Warning *** GNU Make Version $(GMAKE_VERSION) is too old to)
$(warning *** Warning *** fully process this makefile)
endif
SIM_MAJOR=$(shell grep SIM_MAJOR sim_rev.h | awk '{ print $$3 }')
BUILD_SINGLE := ${MAKECMDGOALS} $(BLANK_SUFFIX)
BUILD_MULTIPLE_VERB = is
# building the pdp1, pdp11, tx-0, or any microvax simulator could use video support
@@ -163,6 +164,10 @@ endif
ifneq ($(NOVIDEO),)
VIDEO_USEFUL =
endif
ifeq (3,${SIM_MAJOR})
# simh v3 DOES not have any video support
VIDEO_USEFUL =
endif
ifneq ($(findstring Windows,${OS}),)
ifeq ($(findstring .exe,${SHELL}),.exe)
# MinGW