summaryrefslogtreecommitdiff
path: root/packages/Makefile
blob: e9d8586c02f919c011734166dd217083f50820f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
pkgs=base gsl special glpk tests ../../hTensor ../../easyVision/packages/base

all:
	for p in $(pkgs); do \
	  if [ -e $$p ]; then \
	    cd $$p; cabal install --force-reinstall --enable-documentation ; cd -; \
	  fi; \
	done
	cd sparse; \
	cabal install --extra-include-dirs=$(MKL) --extra-lib-dirs=$(MKL) \
                  --force-reinstall --enable-documentation ; cd -;

fast:
	for p in $(pkgs); do \
	  if [ -e $$p ]; then \
	    cd $$p; cabal install --force-reinstall ; cd -; \
	  fi; \
	done
	cd sparse; \
	cabal install --extra-include-dirs=$(MKL) --extra-lib-dirs=$(MKL) \
                  --force-reinstall; cd -;