From: Ryan Schmidt Date: Wed, 18 May 2022 10:53:08 +0000 (-0500) Subject: src/tk/makefile: Micropolis build fixes for recent macOS X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/micropolis/commitdiff_plain/5ec4544b058d7399f30b1736ff7079de9c173b93?hp=1f4aeab6ff1a6d74140387d699f9839360c95156 src/tk/makefile: Micropolis build fixes for recent macOS Fix: tkevent.c:24:10: fatal error: 'tclxtend.h' file not found ^~~~~~~~~~~~ --- 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