X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile;h=ccc16d766bd6823e0e0e3f285a182d5071d90a8d;hb=d015828479a131d3b422980c44748f7a10de8f91;hp=21b5232661f39d8f3a9bc5b81b62e7856e2309de;hpb=295dbb72582804dbceaa8078c1abe574c9772002;p=YACASL2.git diff --git a/Makefile b/Makefile index 21b5232..ccc16d7 100644 --- a/Makefile +++ b/Makefile @@ -1,19 +1,38 @@ -prefix = $(HOME) -CLEANDIR = src test/integration test/unit -.PHPNY: all clean check install uninstall -all: - make -C src +.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 + check: - make -sC test/integration + @$(MAKE) -sC test/system + +doc: + @$(MAKE) -sC doc + +doxygen: htags + @$(DOXYGEN) + +gtags: + @$(GTAGS) + +htags: doc/doxygen/html gtags + @$(HTAGS) $(HTAGSFLAG) $