thin-provisioning-tools/Makefile

24 lines
425 B
Makefile
Raw Normal View History

2011-06-16 12:46:10 +05:30
SOURCE=\
block.cc \
main.cc \
metadata.cc \
transaction_manager.cc
2011-06-16 12:46:10 +05:30
OBJECTS=$(subst .cc,.o,$(SOURCE))
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)
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