Skip to content

Commit aedff4a

Browse files
committed
moved the file dir to structures
Signed-off-by: Tim Henderson <[email protected]>
0 parents  commit aedff4a

File tree

13 files changed

+1163
-0
lines changed

13 files changed

+1163
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*.btree
2+
test
3+

Makefile

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
2+
fmt:
3+
gofmt -w *.go
4+
../scripts/tabs_to_spaces.sh *.go
5+
heap:
6+
6g -I . -o heap.6 heap.go
7+
byteslice:
8+
6g -I . -o byteslice.6 byteslice.go
9+
buffers: byteslice heap
10+
6g -I . -o buffers.6 buffers.go
11+
blockfile_osx: buffers
12+
6g -I . -o blockfile.6 file.go osxconst.go
13+
blockfile_linux: buffers
14+
6g -I . -o blockfile.6 file.go linuxconst.go
15+
keyblock_osx: blockfile_osx byteslice
16+
6g -I . -o keyblock.6 block.go record.go blockdim.go
17+
keyblock_linux: blockfile_linux byteslice
18+
6g -I . -o keyblock.6 block.go record.go blockdim.go
19+
main_osx: keyblock_osx blockfile_osx
20+
6g -I . -o main.6 test.go
21+
main_linux: keyblock_linux blockfile_linux
22+
6g -I . -o main.6 test.go
23+
build_test_osx: main_osx
24+
6l -o test main.6
25+
build_test_linux: main_linux
26+
6l -o test main.6
27+
mac: build_test_osx
28+
-rm hello.btree
29+
./test
30+
linux: build_test_linux
31+
-rm hello.btree
32+
./test
33+
34+
.PHONY : clean
35+
clean :
36+
-rm hello.btree test *.6
37+
ls

0 commit comments

Comments
 (0)