テストのバグを修正
[YACASL2.git] / Makefile
1 prefix = $(HOME)
2 CLEANDIR = src test/integration test/unit as/casl2lib
3 .PHPNY: all build clean check doc casl2lib install uninstall
4 all: build casl2lib
5 build:
6         make -C src
7 casl2lib:
8         @make -C as/casl2lib
9 check:
10         @make -sC test/integration
11 doc:
12         @make -sC doc
13 clean:
14         @for target in $(CLEANDIR); do $(MAKE) -sC $$target clean; done
15 install: all
16         @if test -d $(prefix); then \
17        install -s ./casl2 $(prefix)/casl2; \
18        install -s ./comet2 $(prefix)/comet2; \
19        install -s ./dumpword $(prefix)/dumpword; \
20      fi
21 uninstall:
22         @if test -d $(prefix); then \
23        rm -f $(prefix)/casl2 $(prefix)/comet2 $(prefix)/dumpword; \
24      fi