X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile;h=ccc16d766bd6823e0e0e3f285a182d5071d90a8d;hb=85a32cf5cc8e39dc5d4f085179559de71ad87cb8;hp=8066daa7e9608e6ebfb9b730af861b470e2f4941;hpb=de52e6f779e8682236319dd36180f1ab58ffeed9;p=YACASL2.git diff --git a/Makefile b/Makefile index 8066daa..ccc16d7 100644 --- a/Makefile +++ b/Makefile @@ -1,32 +1,38 @@ -ifndef prefix - prefix = $(HOME) -endif -CLEANDIR = src test/integration test/unit as/casl2lib -.PHONY: all build clean check doc install uninstall - -all: build +.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 + $(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) $