write a lot of the persistent data classes

This commit is contained in:
Joe Thornber
2011-06-23 14:47:08 +01:00
parent 6b8b16c70a
commit 2e39670ff9
12 changed files with 1300 additions and 3 deletions

View File

@@ -1,8 +1,11 @@
SOURCE=\
main.cc
block.cc \
main.cc \
metadata.cc \
transaction_manager.cc
OBJECTS=$(subst .cc,.o,$(SOURCE))
CPPFLAGS=-Wall -Weffc++ -std=c++0x
CPPFLAGS=-Wall -std=c++0x
INCLUDES=
LIBS=-lstdc++
@@ -13,4 +16,9 @@ LIBS=-lstdc++
g++ -c $(CPPFLAGS) $(INCLUDES) -o $@ $<
multisnap_display: $(OBJECTS)
g++ -o $@ $+ $(LIBS)
g++ -o $@ $+ $(LIBS)
main.o: block.h
block.o: block.h
transaction_manager.o: transaction_manager.h block.h
metadata.o: block.h transaction_manager.h btree.h metadata.h