diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-11-14 12:32:53 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-11-14 12:33:25 -0800 |
commit | 720d728a8d16df2d57cbac7696adff319b6fa21a (patch) | |
tree | 82fa0cf6520085a215970e372496e41d10e3b278 | |
parent | 96e07cd8c94a06e87f7ed0b9fcfb3805ab15921a (diff) | |
download | teliva-720d728a8d16df2d57cbac7696adff319b6fa21a.tar.gz |
tested on Mac OS
-rw-r--r-- | README.md | 5 | ||||
-rw-r--r-- | 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 |