From 35fddfca3cd2b8f9dd319f671d99dc3928bd44a0 Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Mon, 8 Jan 2024 08:10:23 -0800 Subject: [PATCH] Fix build of 2011/toledo The macros for width and height can't be in CFLAGS as in the original entry it assigns to these variables. --- 2011/toledo/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/2011/toledo/Makefile b/2011/toledo/Makefile index f376c1663..a19b622fd 100644 --- a/2011/toledo/Makefile +++ b/2011/toledo/Makefile @@ -71,7 +71,7 @@ HEIGHT= 288 # Defines that are needed to compile # CDEFINE= -DA=${FORWARD} -DB=${LEFT} -DC=${RIGHT} -DD=${BACKWARD} \ - -DE=${FIRE} "-DQ=XFillRectangle(W,X,Y," -DM=${WIDTH} -DN=${HEIGHT} + -DE=${FIRE} "-DQ=XFillRectangle(W,X,Y," # Include files that are needed to compile # @@ -155,7 +155,7 @@ alt: data ${ALT_TARGET} @${TRUE} ${PROG}.alt: ${PROG}.alt.c - ${CC} ${CFLAGS} $< -o $@ ${LDFLAGS} + ${CC} ${CFLAGS} -DM=${WIDTH} -DN=${HEIGHT} $< -o $@ ${LDFLAGS} # data files #