You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
431 B
21 lines
431 B
BINARY_DEPS := (R protobuf )
|
|
R_DEPS := (BrailleR sonify reticulate opencpu extrafont)
|
|
PIP_BIN := pip
|
|
PIP_REQ_TXT := requirements.txt
|
|
|
|
default: all
|
|
|
|
all: deps r_deps py_deps
|
|
echo "All deps done"
|
|
|
|
r_deps:
|
|
R --no-save < check_deps.R || echo "Some R libraries where not found"
|
|
|
|
py_deps:
|
|
$(PIP_BIN) install -r $(PIP_REQ_TXT)
|
|
|
|
deps:
|
|
which gfortran || echo "GNU Fortran not found"
|
|
which R || echo "R programming language not found"
|
|
|