-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmakefile
More file actions
58 lines (43 loc) · 1003 Bytes
/
makefile
File metadata and controls
58 lines (43 loc) · 1003 Bytes
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
clean:
rm main
rm volume
cleanHex:
rm hex
> hexdump_results.txt
cleanResults:
> hexdump_results.txt
ourDriver:
gcc fsdriver3.c low/fsLow.c tokenize/tokenize.c structs.c functions/cp/copyFile.c functions/ld/listDir.c functions/mkdir/createDir.c functions/mv/moveFile.c functions/rm/removeFile.c functions/set/setMetaData.c functions/touch/createFile.c functions/special1/special1.c functions/special2/special2.c -o main -lm
lowDriver:
gcc fsLowDriver.c low/fsLow.c -o main -lm
hexdump:
gcc hexdump.c -o hex
run:
make ourDriver
./main volume 1048576 512
runSuper!:
make ourDriver
./main volume 8388608 4096
runLow:
make lowDriver
./main volume 1048576 512
runHexdump:
make hexdump
(./hex volume) >> hexdump_results.txt
bang:
make run
make runHexdump
bangBang:
make runSuper!
make runHexdump
superclean:
make clean
make cleanHex
reopen:
./main volume 1048576 512
make cleanHex
make runHexdump
reopen-big:
./main volume 8388608 4096
make cleanHex
make runHexdump