-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile
35 lines (28 loc) · 824 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
35
# ---
# Makefile - Helper commands to install and manage allpairs python program
# ---
SHELL := /bin/bash
ls:
@echo "make <target> where <target> is one of:"
@echo
@grep '^[a-zA-Z_]*:' Makefile | sed 's/:.*//' |sed 's/^/ /'
@echo
cat:
@cat Makefile
help:
@echo "--- Makefile: allpairs -h ---"
allpairs --help
usage:
@echo "--- Makefile: allpairs -h ---"
allpairs --help
examples:
@echo "--- Makefile: allpairs --examples ---"
allpairs --examples
install_req:
@echo "--- Makefile: Installing python dependencies: pip install -r inc/requirements.txt ---"
pip install -r requirements.txt
install_allpairs:
@echo "--- Makefile: Installing allpairs to /usr/local/bin ---"
cp -f allpairs /usr/local/bin/allpairs
@echo "--- Makefile: ls -alr /usr/local/bin/allpairs ---"
ls -alt /usr/local/bin/allpairs