-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathMakefile
34 lines (26 loc) · 911 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
26
27
28
29
30
31
32
33
34
# Manages building, testing, and cleaning the code as well as running the code
# to generate the results and figures for the paper.
# CONFIGURATION
###############################################################################
# Set the package name
PACKAGE = fpinv
# TARGETS
###############################################################################
help:
@echo "Commands:"
@echo ""
@echo " all runs 'build'"
@echo " build build and install the package"
@echo " clean clean up the package build"
@echo " results execute all of the results"
@echo ""
all: build results
clean:
find . -name "*.pyc" -exec rm -v {} \;
rm -rvf build dist MANIFEST *.egg-info __pycache__ .coverage .cache
build:
unset PYTHONPATH # to avoid conflicts with local pygimli installations
python setup.py install
results:
make -C scripts/field_case all
make -C scripts/synthetic_case all