2 CFLAGS
=-Wall
-g
-O6
-std
=c99
3 SUBDIRS
=runtime lang_ext utilities
8 @for
dir in
$(SUBDIRS
) ; do make
-w
-C
$$dir $@
; done
13 rm -f lua_path
*.dot
*.png docs
/manual.html docs
/*.png
14 @for
dir in
$(SUBDIRS
) ; do make
-w
-C
$$dir $@
; done
17 echo
"export LUA_PATH=`pwd`/compiler/?.lua\\;`pwd`/sketches/?.lua" > lua_path
18 echo
export LUA_CPATH
=`pwd`/lang_ext
/lua
/?.so
>> lua_path
21 for x in
*.dot
; do echo
$$x; dot
-Tpng
-o
`basename $$x .dot`.png
$$x; done
24 docs
: docs
/manual.html
26 docs
/manual.html
: docs
/manual.txt
27 asciidoc
-a toc
-a toclevels
=3 docs
/manual.txt