X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile;h=ccc16d766bd6823e0e0e3f285a182d5071d90a8d;hb=d015828479a131d3b422980c44748f7a10de8f91;hp=c5e491ed4deb97f94490356bea12a359a5bbf3e5;hpb=b591284405a5b29213db6250c830e1f63d11a4f0;p=YACASL2.git diff --git a/Makefile b/Makefile index c5e491e..ccc16d7 100644 --- a/Makefile +++ b/Makefile @@ -1,27 +1,38 @@ -ifndef prefix - prefix = $(HOME) -endif -CLEANDIR = src test/integration test/unit as/casl2lib -.PHPNY: all build clean check doc casl2lib install uninstall -all: build casl2lib +.PHONY: build check doc doxygen clean gtags htags +MKDIR = mkdir -p +DOXYGEN = doxygen +GTAGS = gtags +HTAGS = htags +HTAGSFLAG = --map-file -anosx --tree-view + build: - make -C src -casl2lib: - @make -C as/casl2lib + $(MAKE) -C src + check: - @make -sC test/integration + @$(MAKE) -sC test/system + doc: - @make -sC doc + @$(MAKE) -sC doc + +doxygen: htags + @$(DOXYGEN) + +gtags: + @$(GTAGS) + +htags: doc/doxygen/html gtags + @$(HTAGS) $(HTAGSFLAG) $