9 test -d
$(BUILDDIR
) || .
/configure
--build-dir
$(BUILDDIR
)
10 make
$(MAKEOPT
) -C
$(BUILDDIR
)
13 make
$(MAKEOPT
) -C
$(BUILDDIR
) install
16 doxygen doc
/Doxyfile
&& cp doc
/tabs.css doc
/html
/
19 make
$(MAKEOPT
) -C
$(BUILDDIR
)
21 @echo
" ---------------------------------"
22 @echo
" | TEST SUITE |"
23 @echo
" ---------------------------------"
27 make
$(MAKEOPT
) -C
$(BUILDDIR
) clean
28 # find . \( -name '*~' \) -exec rm -f {} \;
31 rm -rf
$(BUILDDIR
) config.mk
36 @echo
"build build the project"
37 @echo
"check check the project"
38 @echo
"clean clean the project"
39 @echo
"distclean distclean the project"
40 @echo
"doc generate the doxygen html documentation"
41 @echo
"lighttpd-start starts the lighttpd server"
42 @echo
"lighttpd-restart restarts the lighttpd server"
43 @echo
"lighttpd-stop stops the lighttpd server"
45 doc
/lighttpd
/local.conf
: Makefile
46 echo var.doc_dir
= \"$$PWD/doc
\" >$@
48 lighttpd-start
: doc
/lighttpd
/local.conf
49 lighttpd
-f doc
/lighttpd
/lighttpd.conf
54 lighttpd-restart
: lighttpd-stop lighttpd-start
58 find tests \
( -name
'*.ll' -o
-name
'*.bc' -o
-name
'*.bin' \
) -exec
rm {} \
;
59 for i in tests
/lang
/mugiwara
/input
/expr
/*-*-*; do i
=$${i
/.mgw
/}; if
[[ -f
$$i ]] ; then
rm $$i; fi
; done
61 remove-trailing-whitespaces
:
62 find src
-type f
-exec sed
-i
's/ \+$$//g' {} \
;
65 ctags
-R
--c
++-kinds
=+p
--fields
=+iaS
--extra
=+q src
/usr
/include/c
++/4.3.3/ /usr
/include/llvm
&& mv
tags $@
68 find src \
( -name
'*.hh' -o
-name
'*.hxx' -o
-name
'*.cc' \
) -print0 | xargs
-0 ctags.emacs
-T
--members
--globals
--declarations
-o
$@
70 .PHONY
: tags-vim tags-emacs