From 720d728a8d16df2d57cbac7696adff319b6fa21a Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sun, 14 Nov 2021 12:32:53 -0800 Subject: tested on Mac OS --- README.md | 5 ++++- src/Makefile | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f01f4b4..d2493a7 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ An extremely naïve, [brutalist](https://en.wikipedia.org/wiki/Brutalist_architecture) attempt at packaging up simple [Lua](http://www.lua.org) ([5.1](https://www.lua.org/manual/5.1)) apps with almost all the stuff needed to edit and build them. You will need -Linux, a C compiler and the ncurses library. +some Unix-like platform[1] with a C compiler and the ncurses library. Here's how you run one of the example apps (the [Tower of Hanoi](https://en.wikipedia.org/wiki/Tower_of_Hanoi)): @@ -31,6 +31,9 @@ No matter what app you run, you are always guaranteed access to a single obvious, consistent way (currently the hotkey `ctrl-e`) to edit its sources. And to run the updates after editing. +[1] Tested so far on Linux and Mac OSX; should also work on BSD, WSL on +Windows, etc. + ## Isn't this just an IDE? There's one big difference: these apps are not intended to be runnable outside diff --git a/src/Makefile b/src/Makefile index 39d2c3a..1574be6 100644 --- a/src/Makefile +++ b/src/Makefile @@ -100,7 +100,7 @@ linux: $(MAKE) all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-Wl,-E -ldl -lncursesw" macosx: - $(MAKE) all MYCFLAGS=-DLUA_USE_LINUX + $(MAKE) all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-lncurses" # use this on Mac OS X 10.3- # $(MAKE) all MYCFLAGS=-DLUA_USE_MACOSX -- cgit 1.4.1-2-gfad0