-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
59 lines (40 loc) · 1.38 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
PREFIX=/usr
DESTDIR=/
PY_SOURCES=schedsi example tests replay.py plot.py
example-lt: .PHONY
PYTHONPATH=. example/localtimer_kernel.py|PYTHONPATH=. ./replay.py -
example-st: .PHONY
PYTHONPATH=. example/singletimer_kernel.py|PYTHONPATH=. ./replay.py -
example-pen: .PHONY
PYTHONPATH=. example/penalty_scheduler.py|PYTHONPATH=. ./replay.py -
example: .PHONY example-lt
text-lt: .PHONY
PYTHONPATH=. example/localtimer_kernel.py|PYTHONPATH=. ./replay.py - --text
text-st: .PHONY
PYTHONPATH=. example/singletimer_kernel.py|PYTHONPATH=. ./replay.py - --text
text-pen: .PHONY
PYTHONPATH=. example/penalty_scheduler.py|PYTHONPATH=. ./replay.py - --text
graph-lt: .PHONY
PYTHONPATH=. example/localtimer_kernel.py|PYTHONPATH=. ./replay.py - --graph
graph-st: .PHONY
PYTHONPATH=. example/singletimer_kernel.py|PYTHONPATH=. ./replay.py - --graph
graph-pen: .PHONY
PYTHONPATH=. example/penalty_scheduler.py|PYTHONPATH=. ./replay.py - --graph
test: .PHONY
PYTHONPATH=. tests/examples.py
PYTHONPATH=. tests/simple.py
PYTHONPATH=. tests/graphs.py
update-docs:
rm -f docs/source/schedsi.rst
sphinx-apidoc -o docs/source schedsi
html: .PHONY
$(MAKE) -C docs html
pylint: .PHONY
pylint -r n $(PY_SOURCES)
pylint-disabled: .PHONY
pylint -e fixme,locally-disabled $(PY_SOURCES)
build: .PHONY
./setup.py build
install: .PHONY
./setup.py install --prefix '$(PREFIX)' --root '$(DESTDIR)'
.PHONY: