2797559a49bb9be168a61fbcae23367453044cb6
[YACASL2.git] / Makefile
1 prefix = $(HOME)
2 .PHPNY: all clean check install uninstall
3 all:
4         make -C src
5 check:
6         make -C test/integration
7 clean:
8         make -C src clean
9         make -C test/integration clean
10         make -C test/unit clean
11 install: all
12         @if test -d $(prefix); then \
13        install -s ./casl2 $(prefix)/casl2; \
14        install -s ./comet2 $(prefix)/comet2; \
15        install -s ./dumpword $(prefix)/dumpword; \
16      fi
17 uninstall:
18         @if test -d $(prefix); then \
19        rm -f $(prefix)/casl2 $(prefix)/comet2 $(prefix)/dumpword; \
20      fi