thin-provisioning-tools/Makefile
2011-06-23 14:47:08 +01:00

24 lines
425 B
Makefile

SOURCE=\
block.cc \
main.cc \
metadata.cc \
transaction_manager.cc
OBJECTS=$(subst .cc,.o,$(SOURCE))
CPPFLAGS=-Wall -std=c++0x
INCLUDES=
LIBS=-lstdc++
.SUFFIXES: .cc .o
.cc.o:
g++ -c $(CPPFLAGS) $(INCLUDES) -o $@ $<
multisnap_display: $(OBJECTS)
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