From b4f2ef853a566cb206da8c4f4700324bf84e8a51 Mon Sep 17 00:00:00 2001 From: nhmall Date: Mon, 7 Jul 2025 12:43:27 -0400 Subject: [PATCH] add more fallback values to allow basic build to proceed --- sys/unix/Makefile.src | 6 ++++++ sys/unix/Makefile.utl | 1 + 2 files changed, 7 insertions(+) diff --git a/sys/unix/Makefile.src b/sys/unix/Makefile.src index fac0403f7..eaf5b1d47 100644 --- a/sys/unix/Makefile.src +++ b/sys/unix/Makefile.src @@ -188,7 +188,9 @@ SYSOBJ = $(TARGETPFX)ioctl.o $(TARGETPFX)unixmain.o $(TARGETPFX)unixtty.o \ #CFLAGS = -O -I../include #LFLAGS = +#fallback values, only if these are not already set CFLAGS ?= -I../include +LINK ?= $(CC) AR = ar ARFLAGS = rcs @@ -408,6 +410,10 @@ WINCURSESLIB = -lncurses # # LIBS = +#fallback values, only if these are not already set +WINOBJ ?= $(WINTTYOBJ) +WINLIB ?= $(WINTTYLIB) -lncurses + # make NetHack GAME = nethack # GAME = nethack.prg diff --git a/sys/unix/Makefile.utl b/sys/unix/Makefile.utl index 9ae37bdec..4df167f43 100644 --- a/sys/unix/Makefile.utl +++ b/sys/unix/Makefile.utl @@ -106,6 +106,7 @@ NHSROOT=.. #CFLAGS = -O -I../include #LFLAGS = +#fallback defaults if not set CFLAGS ?= -I../include # -lm required by lua