Skip to content

Commit

Permalink
moved the file dir to structures
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Henderson <[email protected]>
  • Loading branch information
timtadh committed Feb 22, 2010
0 parents commit aedff4a
Show file tree
Hide file tree
Showing 13 changed files with 1,163 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*.btree
test

37 changes: 37 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@

fmt:
gofmt -w *.go
../scripts/tabs_to_spaces.sh *.go
heap:
6g -I . -o heap.6 heap.go
byteslice:
6g -I . -o byteslice.6 byteslice.go
buffers: byteslice heap
6g -I . -o buffers.6 buffers.go
blockfile_osx: buffers
6g -I . -o blockfile.6 file.go osxconst.go
blockfile_linux: buffers
6g -I . -o blockfile.6 file.go linuxconst.go
keyblock_osx: blockfile_osx byteslice
6g -I . -o keyblock.6 block.go record.go blockdim.go
keyblock_linux: blockfile_linux byteslice
6g -I . -o keyblock.6 block.go record.go blockdim.go
main_osx: keyblock_osx blockfile_osx
6g -I . -o main.6 test.go
main_linux: keyblock_linux blockfile_linux
6g -I . -o main.6 test.go
build_test_osx: main_osx
6l -o test main.6
build_test_linux: main_linux
6l -o test main.6
mac: build_test_osx
-rm hello.btree
./test
linux: build_test_linux
-rm hello.btree
./test

.PHONY : clean
clean :
-rm hello.btree test *.6
ls
Loading

0 comments on commit aedff4a

Please sign in to comment.