X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?p=YACASL2.git;a=blobdiff_plain;f=Makefile;h=eef3b0c06d80598a7e6db8bd7a0290ad629e3577;hp=06cf19d4f811f6d407a730fb25d03a4fc4d6c873;hb=c6d4eba166dfc69f9200122fb687b872199cffcb;hpb=1e636c95bf237645b6c9117e3eb64aa2d8aa4c90 diff --git a/Makefile b/Makefile index 06cf19d..eef3b0c 100644 --- a/Makefile +++ b/Makefile @@ -1,19 +1,16 @@ -INSTALLDIR = /usr/local/bin -.PHPNY: all clean check install uninstall -all: - make -C src ../casl2 ../comet2 +CLEANDIR = + +.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 + @for target in src test/integration test/unit as/casl2lib; do $(MAKE) -sC $$target clean; done; + @rm -f casl2 comet2 dumpword