-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmakefile
executable file
·53 lines (39 loc) · 1.06 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
all:
make run
make test
diff: RunCollatz
./RunCollatz < RunCollatz.in > RunCollatz.tmp
diff RunCollatz.out RunCollatz.tmp
rm RunCollatz.tmp
doc:
doxygen Doxyfile
log:
git log > Collatz.log
RunCollatz: Collatz.h Collatz.c++ RunCollatz.c++
g++ -pedantic -std=c++0x -Wall Collatz.c++ RunCollatz.c++ -o RunCollatz
run: RunCollatz
RunCollatz < RunCollatz.in
runv: RunCollatz
valgrind RunCollatz < RunCollatz.in
TestCollatz: Collatz.h Collatz.c++ TestCollatz.c++
g++ -pedantic -std=c++0x -Wall Collatz.c++ TestCollatz.c++ -o TestCollatz -lcppunit -ldl
test: TestCollatz
TestCollatz
testv: TestCollatz
valgrind TestCollatz
turnin-list:
turnin --list tmtorres cs378pj1
turnin-submit:
turnin --submit tmtorres cs378pj1 Collatz.zip
turnin-verify:
turnin --verify tmtorres cs378pj1
zip:
zip -r Collatz.zip html/ makefile \
Collatz.c++ Collatz.h Collatz.log \
RunCollatz.c++ RunCollatz.in RunCollatz.out \
SphereCollatz.c++ \
TestCollatz.c++ TestCollatz.out
clean:
rm -f RunCollatz
rm -f TestCollatz
rm -f *.tmp