From 7b78b6d3138109e3bd97290758ed07ab5067c973 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Sun, 4 Sep 2022 19:14:44 -0600 Subject: [PATCH] makefile: Remove irrelevant checks for VIDEO support building v3 simulators --- makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/makefile b/makefile index 68b8271c..2c0376ae 100644 --- a/makefile +++ b/makefile @@ -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