9 test -d
$(BUILDDIR
) || .
/configure
--build-dir
$(BUILDDIR
)
10 make
$(MAKEOPT
) -C
$(BUILDDIR
)
13 doxygen doc
/Doxyfile
&& cp doc
/tabs.css doc
/html
/
16 make
$(MAKEOPT
) -C
$(BUILDDIR
)
18 @echo
" ---------------------------------"
19 @echo
" | TEST SUITE |"
20 @echo
" ---------------------------------"
24 make
$(MAKEOPT
) -C
$(BUILDDIR
) clean
25 # find . \( -name '*~' \) -exec rm -f {} \;
28 rm -rf
$(BUILDDIR
) config.mk
33 @echo
"build build the project"
34 @echo
"check check the project"
35 @echo
"clean clean the project"
36 @echo
"distclean distclean the project"
37 @echo
"doc generate the doxygen html documentation"
38 @echo
"lighttpd-start starts the lighttpd server"
39 @echo
"lighttpd-restart restarts the lighttpd server"
40 @echo
"lighttpd-stop stops the lighttpd server"
42 doc
/lighttpd
/local.conf
: Makefile
43 echo var.doc_dir
= \"$$PWD/doc
\" >$@
45 lighttpd-start
: doc
/lighttpd
/local.conf
46 lighttpd
-f doc
/lighttpd
/lighttpd.conf
51 lighttpd-restart
: lighttpd-stop lighttpd-start
55 find tests \
( -name
'*.ll' -o
-name
'*.bc' -o
-name
'*.bin' \
) -exec
rm {} \
;
56 for i in tests
/lang
/mugiwara
/input
/expr
/*-*-*; do i
=$${i
/.mgw
/}; if
[[ -f
$$i ]] ; then
rm $$i; fi
; done
58 remove-trailing-whitespaces
:
59 find src
-type f
-exec sed
-i
's/ \+$$//g' {} \
;