diff options
| author | Joel Martin <github@martintribe.org> | 2015-01-08 23:25:40 -0600 |
|---|---|---|
| committer | Joel Martin <github@martintribe.org> | 2015-01-08 23:25:40 -0600 |
| commit | 9d42904e47c50c5ff2306da04993b2a32bc9cd16 (patch) | |
| tree | e1b2d46a232e6573dc2c185967ebe988be3db973 /lua/Makefile | |
| parent | fd888612ca589d7e1a46c36fc3fe12aed126f6a8 (diff) | |
| download | mal-9d42904e47c50c5ff2306da04993b2a32bc9cd16.tar.gz mal-9d42904e47c50c5ff2306da04993b2a32bc9cd16.zip | |
Lua: all steps and self-hosting.
Also some misc docs/TODO updates.
Diffstat (limited to 'lua/Makefile')
| -rw-r--r-- | lua/Makefile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/lua/Makefile b/lua/Makefile new file mode 100644 index 0000000..d1498bd --- /dev/null +++ b/lua/Makefile @@ -0,0 +1,26 @@ +TESTS = + +SOURCES_BASE = utils.lua types.lua reader.lua printer.lua +SOURCES_LISP = env.lua core.lua stepA_interop.lua +SOURCES = $(SOURCES_BASE) $(SOURCES_LISP) + +all: libs + +.PHONY: stats tests $(TESTS) + +clean: + rm -f linenoise.so + +stats: $(SOURCES) + @wc $^ +stats-lisp: $(SOURCES_LISP) + @wc $^ + + +.PHONY: libs +libs: linenoise.so + +linenoise.so: + luarocks install --tree=./ linenoise + ln -sf lib/lua/5.1/linenoise.so $@ + |
