Makefile 897 B

1234567891011121314151617181920212223
  1. LIB = -I.. / include -
  2. L.. / build.. / build /
  3. librocksdb.a
  4. all : clean testdoclistsize teststorage rocksdb_tool echo ""
  5. teststorage : echo $ @g++ -
  6. std = c++ 11 - g storage_test.cpp util.cpp iutf8string.cpp codec.cpp -
  7. o $ @${LIB} - lsnappy - lpthread
  8. testdoclistsize : echo $ @g++ -
  9. std =
  10. c++ 11 - g doclist_test.cpp util.cpp iutf8string.cpp - o $ @
  11. rocksdb_tool : echo $ @g++ -
  12. std =
  13. c++ 11 - g rocksdb_tool.cpp util.cpp iutf8string.cpp -
  14. o $ @${LIB} - lsnappy - lpthread
  15. clean
  16. : rm -
  17. rf teststorage testdoclistsize rocksdb_tool