2011-06-16 12:46:10 +05:30
|
|
|
SOURCE=\
|
2011-06-23 19:17:08 +05:30
|
|
|
block.cc \
|
|
|
|
main.cc \
|
|
|
|
metadata.cc \
|
|
|
|
transaction_manager.cc
|
2011-06-16 12:46:10 +05:30
|
|
|
|
|
|
|
OBJECTS=$(subst .cc,.o,$(SOURCE))
|
2011-06-23 19:17:08 +05:30
|
|
|
CPPFLAGS=-Wall -std=c++0x
|
2011-06-16 12:46:10 +05:30
|
|
|
INCLUDES=
|
|
|
|
LIBS=-lstdc++
|
|
|
|
|
|
|
|
|
|
|
|
.SUFFIXES: .cc .o
|
|
|
|
|
|
|
|
.cc.o:
|
|
|
|
g++ -c $(CPPFLAGS) $(INCLUDES) -o $@ $<
|
|
|
|
|
|
|
|
multisnap_display: $(OBJECTS)
|
2011-06-23 19:17:08 +05:30
|
|
|
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
|