オペランド長取得時のバグを修正
[YACASL2.git] / Makefile
1 prefix = $(HOME)
2 CLEANDIR = src test/integration test/unit
3 .PHPNY: all clean check install uninstall
4 all:
5         make -C src
6 check:
7         @make -sC test/integration
8 clean:
9         @for target in $(CLEANDIR); do $(MAKE) -sC $$target clean; done
10 install: all
11         @if test -d $(prefix); then \
12        install -s ./casl2 $(prefix)/casl2; \
13        install -s ./comet2 $(prefix)/comet2; \
14        install -s ./dumpword $(prefix)/dumpword; \
15      fi
16 uninstall:
17         @if test -d $(prefix); then \
18        rm -f $(prefix)/casl2 $(prefix)/comet2 $(prefix)/dumpword; \
19      fi