X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?p=YACASL2.git;a=blobdiff_plain;f=Makefile;h=98db6584baa5c0a36104ac4cf8b644ff6d31251c;hp=06cf19d4f811f6d407a730fb25d03a4fc4d6c873;hb=d998766540ffc4332d6212a76a38a2242419ffa5;hpb=1e636c95bf237645b6c9117e3eb64aa2d8aa4c90 diff --git a/Makefile b/Makefile index 06cf19d..98db658 100644 --- a/Makefile +++ b/Makefile @@ -1,19 +1,23 @@ -INSTALLDIR = /usr/local/bin -.PHPNY: all clean check install uninstall -all: - make -C src ../casl2 ../comet2 +.PHONY: build check doc doxygen clean +DOXYGEN = doxygen + +build: + $(MAKE) -C src + check: - make -C test/astest + @$(MAKE) -sC test/system + +doc: + @$(MAKE) -sC doc + +doxygen: + @$(DOXYGEN) + clean: - make -C src clean - make -C test/astest clean - make -C test/utest clean -install: casl2 comet2 - @if test -d $(INSTALLDIR); then \ - install -s ./casl2 $(INSTALLDIR)/casl2; \ - install -s ./comet2 $(INSTALLDIR)/comet2; \ - fi -uninstall: - @if test -d $(INSTALLDIR); then \ - rm -f $(INSTALLDIR)/casl2 $(INSTALLDIR)/comet2; \ - fi + @$(MAKE) -sC src clean + @$(MAKE) -sC test/system/casl2 clean + @$(MAKE) -sC test/system/comet2 clean + @$(MAKE) -sC test/system/dumpword clean + @$(MAKE) -sC test/unit clean + @rm -rf doc/doxygen/* + @rm -f casl2 comet2 dumpword