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
-n
"export LUA_PATH=`pwd`/compiler/?.lua\\;`pwd`/sketches/?.lua" > lua_path
18 echo
"\\;`pwd`/tests/?.lua" >> lua_path
19 echo
export LUA_CPATH
=`pwd`/lang_ext
/lua
/?.so
>> lua_path
22 for x in
*.dot
; do echo
$$x; dot
-Tpng
-o
`basename $$x .dot`.png
$$x; done
25 docs
: docs
/manual.html
27 docs
/manual.html
: docs
/manual.txt docs
/manual.conf docs
/gzl-rtn-graph Makefile
28 asciidoc
-a toc
-a toclevels
=3 -a icons
-a iconsdir
=. docs
/manual.txt
31 cp
/usr
/share
/asciidoc
/icons
/*.png docs
34 for
test in tests
/test*.lua
; do lua
$$test; done