forked from genomely/FALCON-integrate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
25 lines (20 loc) · 761 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
# We suggest that you not add any rules here. Instead, customize `FALCON-make/makefile`.
FALCON_PREFIX?=$(abspath fc_env)
FALCON_WORKSPACE?=$(abspath .)
export FALCON_PREFIX
export FALCON_WORKSPACE
install:
# Activate virtualenv environment and delegate the rule to `./FALCON-make/makefile`.
%:
ln -sf ../../git-sym/git-sym ${FALCON_PREFIX}/bin/git-sym
. ${FALCON_PREFIX}/bin/activate; ${MAKE} -C ./FALCON-make/ $@
# These can be helpful for setup.
pre:
git submodule update --init --depth=1 virtualenv
git submodule update --init --recursive
virtualenv:
mkdir -p ${FALCON_PREFIX}
python2.7 virtualenv/virtualenv.py --no-site-packages --always-copy ${FALCON_PREFIX}
check:
. ${FALCON_PREFIX}/bin/activate; which python
.PHONY: pre virtualenv check