forked from kongdd/python_class
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (28 loc) · 778 Bytes
/
Makefile
File metadata and controls
35 lines (28 loc) · 778 Bytes
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
all : develop
test : FORCE
python -m unittest discover --start-directory pyTools/asaptools/test
develop : install
# NOTE: need to cd to pyTools dir first before setup because
# the Makefile can't live in the same dir as mpi_utils due to
# different SVN repos (CESM and CISL). The setup.py operates
# on relative paths so must be called from the pyTools/asaptools dir.
install : FORCE
cd pyTools; python setup.py install
clean :
-rm -f *~ *.CKP *.ln *.BAK *.bak .*.bak \
core errs \
,* .emacs_* \
tags TAGS \
make.log MakeOut \
*.tmp tmp.txt
#
# clobber - Really clean up the directory.
#
clobber : clean
-rm -f .Makedepend *.o *.mod *.il *.pyc
-rm -rf pyTools/*.egg-info
-rm -rf pyTools/build
#
# FORCE - Null rule to force things to happen.
#
FORCE :