forked from benedictpaten/jobTree
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
58 lines (43 loc) · 2.42 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
binPath = ./bin
all : ${binPath}/jobTreeRun ${binPath}/jobTreeStatus ${binPath}/jobTreeKill ${binPath}/jobTreeSlave ${binPath}/jobTreeStats ${binPath}/scriptTree ${binPath}/multijob ${binPath}/jobTreeTest_CommandFirst.py ${binPath}/jobTreeTest_CommandSecond.py ${binPath}/scriptTreeTest_Wrapper.py ${binPath}/scriptTreeTest_Wrapper2.py ${binPath}/scriptTreeTest_Sort.py
${binPath}/jobTreeRun : src/jobTreeRun.py
cp src/jobTreeRun.py ${binPath}/jobTreeRun
chmod +x ${binPath}/jobTreeRun
${binPath}/jobTreeStatus : src/jobTreeStatus.py
cp src/jobTreeStatus.py ${binPath}/jobTreeStatus
chmod +x ${binPath}/jobTreeStatus
${binPath}/jobTreeKill : src/jobTreeKill.py
cp src/jobTreeKill.py ${binPath}/jobTreeKill
chmod +x ${binPath}/jobTreeKill
${binPath}/jobTreeSlave : src/jobTreeSlave.py
cp src/jobTreeSlave.py ${binPath}/jobTreeSlave
chmod +x ${binPath}/jobTreeSlave
${binPath}/jobTreeStats : src/jobTreeStats.py
cp src/jobTreeStats.py ${binPath}/jobTreeStats
chmod +x ${binPath}/jobTreeStats
${binPath}/scriptTree : scriptTree/scriptTree.py
cp scriptTree/scriptTree.py ${binPath}/scriptTree
chmod +x ${binPath}/scriptTree
${binPath}/multijob : batchSystems/multijob.py
cp batchSystems/multijob.py ${binPath}/multijob
chmod +x ${binPath}/multijob
${binPath}/jobTreeTest_CommandFirst.py : test/jobTree/jobTreeTest_CommandFirst.py
cp test/jobTree/jobTreeTest_CommandFirst.py ${binPath}/jobTreeTest_CommandFirst.py
chmod +x ${binPath}/jobTreeTest_CommandFirst.py
${binPath}/jobTreeTest_CommandSecond.py : test/jobTree/jobTreeTest_CommandSecond.py
cp test/jobTree/jobTreeTest_CommandSecond.py ${binPath}/jobTreeTest_CommandSecond.py
chmod +x ${binPath}/jobTreeTest_CommandSecond.py
${binPath}/scriptTreeTest_Wrapper.py : test/scriptTree/scriptTreeTest_Wrapper.py
cp test/scriptTree/scriptTreeTest_Wrapper.py ${binPath}/scriptTreeTest_Wrapper.py
chmod +x ${binPath}/scriptTreeTest_Wrapper.py
${binPath}/scriptTreeTest_Wrapper2.py : test/scriptTree/scriptTreeTest_Wrapper2.py
cp test/scriptTree/scriptTreeTest_Wrapper2.py ${binPath}/scriptTreeTest_Wrapper2.py
chmod +x ${binPath}/scriptTreeTest_Wrapper2.py
${binPath}/scriptTreeTest_Sort.py : test/sort/scriptTreeTest_Sort.py
cp test/sort/scriptTreeTest_Sort.py ${binPath}/scriptTreeTest_Sort.py
chmod +x ${binPath}/scriptTreeTest_Sort.py
clean :
rm -f ${binPath}/*
tests :
#Running python allTests.py
PYTHONPATH=.. PATH=../../bin:$$PATH python allTests.py --testLength=SHORT --logDebug