From 5ec4544b058d7399f30b1736ff7079de9c173b93 Mon Sep 17 00:00:00 2001 From: Ryan Schmidt Date: Wed, 18 May 2022 05:53:08 -0500 Subject: [PATCH] src/tk/makefile: Micropolis build fixes for recent macOS Fix: tkevent.c:24:10: fatal error: 'tclxtend.h' file not found ^~~~~~~~~~~~ --- src/tk/makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/tk/makefile b/src/tk/makefile index 344c37c..219063a 100644 --- a/src/tk/makefile +++ b/src/tk/makefile @@ -29,10 +29,11 @@ CC = gcc -CFLAGS = -I. -I$(XINCLUDE) -I$(TCL_DIR) -O3 -DTK_VERSION=\"2.3\" -DUSE_XPM3 -DIS_LINUX -#CFLAGS = -I. -I$(XINCLUDE) -I$(TCL_DIR) -g -DTK_VERSION=\"2.3\" -DUSE_XPM3 -DIS_LINUX +CFLAGS = -I. -I$(XINCLUDE) -I$(TCL_DIR) -I$(TCLX_DIR) -O3 -DTK_VERSION=\"2.3\" -DUSE_XPM3 -DIS_LINUX +#CFLAGS = -I. -I$(XINCLUDE) -I$(TCL_DIR) -I$(TCLX_DIR) -g -DTK_VERSION=\"2.3\" -DUSE_XPM3 -DIS_LINUX TCL_DIR = ../tcl +TCLX_DIR = ../tclx/src XINCLUDE = /usr/include/X11 XLIB = -L/usr/X11R6/lib -lX11 -lXpm -- 2.39.5