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