-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
38 lines (31 loc) · 790 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
all: normal
normal:
@(INSTALL_PREFIX=$${INSTALL_PREFIX:-/usr/local} ; \
echo "Building binaries..." && make -C src && \
echo "Building libraries ..." && make -C lib && \
echo "Building documentation..." && make -C doc && \
echo "Done" )
test:
make -C tests
install:
(INSTALL_PREFIX=$${INSTALL_PREFIX:-/usr/local} ; \
make -C src install &&\
make -C lib install &&\
make -C scripts install &&\
make -C doc install)
uninstall:
(INSTALL_PREFIX=$${INSTALL_PREFIX:-/usr/local} ; \
make -C src uninstall &&\
make -C lib uninstall &&\
make -C scripts uninstall &&\
make -C doc uninstall)
clean:
make -C src clean
make -C lib clean
make -C doc clean
make -C tests clean
veryclean:
make -C src veryclean
make -C lib clean
make -C doc veryclean
make -C tests veryclean