projects
/
repair.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Checking in changes that:
[repair.git]
/
Repair
/
RepairInterpreter
/
makelib
1
#!/bin/bash
2
3
# Run this script to create libchecker.a, necessary for the debugging tool
4
# Date: July 26
5
6
if [ -f libchecker.a ]
7
then rm libchecker.a
8
fi
9
10
mv file.cc file.bak
11
mv danfile.cc danfile.bak
12
13
14
g++ -Wno-deprecated -g -O0 -c *.cc
15
gcc -Wno-deprecated -g -O0 -c *.c
16
17
18
if [ -f danfile.o ]
19
then rm danfile.o
20
fi
21
22
if [ -f file.o ]
23
then rm file.o
24
fi
25
26
ar -r libchecker.a *.o
27
ranlib libchecker.a
28
29
30
mv file.bak file.cc
31
mv danfile.bak danfile.cc