-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
28 lines (24 loc) · 872 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
RAMCLOUD_OBJ_DIR := $(RAMCLOUD_HOME)/obj.torcdb-experiments
TARGETS := TableDownloader \
TableUploader \
SnapshotLoader \
TimeOp \
TimeReads \
TimeMultiReads \
TimeTransactionsAsyncReads \
TableEnumeratorTestCase \
TimeTraceTxReadOp \
TransactionsTestCase \
GetStats \
GetMetrics \
rcstat \
rcperf \
TableImageSplitter \
ImageFileHashPartitioner \
ImageFileStats \
TableCreator
all: $(TARGETS)
%: src/main/cpp/%.cc
g++ -o $@ $^ $(RAMCLOUD_OBJ_DIR)/OptionParser.o -g -std=c++0x -I$(RAMCLOUD_HOME)/src -I$(RAMCLOUD_OBJ_DIR) -L$(RAMCLOUD_OBJ_DIR) -lramcloud -lpcrecpp -lboost_program_options -lprotobuf -lrt -lboost_filesystem -lboost_system -lpthread -lssl -lcrypto
clean:
rm -f $(TARGETS)