X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?p=YACASL2.git;a=blobdiff_plain;f=Makefile;h=5192135045326b06c042f2381407490cba14c716;hp=06cf19d4f811f6d407a730fb25d03a4fc4d6c873;hb=0d225ac1f580c59da7a063ef52da35c0af254dd3;hpb=1e636c95bf237645b6c9117e3eb64aa2d8aa4c90 diff --git a/Makefile b/Makefile index 06cf19d..5192135 100644 --- a/Makefile +++ b/Makefile @@ -1,19 +1,18 @@ -INSTALLDIR = /usr/local/bin -.PHPNY: all clean check install uninstall -all: - make -C src ../casl2 ../comet2 +.PHONY: build check doc clean + +build: + $(MAKE) -C src + check: - make -C test/astest + @$(MAKE) -sC test/system + +doc: + @$(MAKE) -sC doc + 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 -f casl2 comet2 dumpword