blob: b00d71f7648f8937217b79806e8b1a1299280fc5 (
plain)
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
|
pkgs=base gsl special glpk tests ../../hTensor ../../easyVision/packages/tools ../../easyVision/packages/base
mkl=--extra-include-dirs=$(MKL) --extra-lib-dirs=$(MKL)
cabalcmd = \
for p in $(1); do \
if [ -e $$p ]; then \
cd $$p; cabal $(2) ; cd -; \
fi; \
done; \
cd sparse; \
cabal $(3) $(2); cd -;
all:
$(call cabalcmd, $(pkgs), install --force-reinstall --enable-documentation, $(mkl))
fast:
$(call cabalcmd, $(pkgs), install --force-reinstall, $(mkl))
clean:
$(call cabalcmd, $(pkgs), clean)
prof:
$(call cabalcmd, $(pkgs), install --force-reinstall --enable-library-profiling, $(mkl))
|