forked from davidcsterratt/KappaNEURON
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
23 lines (18 loc) · 969 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# .PHONY test: all
# make -C test/test_ca_pulse test
PREFIX=/usr/local
build_py:
python2.7 setup.py build
.PHONY test: build_py
./KappaNEURON/tests/nrnivmodl.py
python2.7 -m unittest KappaNEURON.tests.TestCaAccumulation.test_injectCalcium && \
python2.7 -m unittest KappaNEURON.tests.TestCaAccumulation.test_injectCalciumGHK && \
python2.7 -m unittest KappaNEURON.tests.TestCaAccumulation.test_injectCalciumPump && \
python2.7 -m unittest KappaNEURON.tests.TestCaAccumulation.test_injectCalciumPumpGHK && \
python2.7 -m unittest KappaNEURON.tests.TestCaAccumulation.test_injectCalciumPump2 && \
python2.7 -m unittest KappaNEURON.tests.TestCaAccumulation.test_injectCalciumPump2k2 && \
python2.7 -m unittest KappaNEURON.tests.TestCaAccumulation.test_twoMembraneSpecies && \
python2.7 -m unittest KappaNEURON.tests.TestCaAccumulation.test_twoMembraneSpeciesOneUncharged && \
echo "All tests passed"
install:
python2.7 setup.py install --prefix=$(PREFIX)