X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile;h=ccc16d766bd6823e0e0e3f285a182d5071d90a8d;hb=d015828479a131d3b422980c44748f7a10de8f91;hp=06cf19d4f811f6d407a730fb25d03a4fc4d6c873;hpb=44cde08e6cf148928a219593c78a57abfd89b424;p=YACASL2.git diff --git a/Makefile b/Makefile index 06cf19d..ccc16d7 100644 --- a/Makefile +++ b/Makefile @@ -1,19 +1,38 @@ -INSTALLDIR = /usr/local/bin -.PHPNY: all clean check install uninstall -all: - make -C src ../casl2 ../comet2 +.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 -C test/astest + @$(MAKE) -sC test/system + +doc: + @$(MAKE) -sC doc + +doxygen: htags + @$(DOXYGEN) + +gtags: + @$(GTAGS) + +htags: doc/doxygen/html gtags + @$(HTAGS) $(HTAGSFLAG) $