-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
executable file
·25 lines (13 loc) · 1.04 KB
/
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
all: build batchScannerExample scannerExample createTableExample batchWriterExample
clean:
rm -rf target/*.o
build:
mkdir -p target/
batchScannerExample: build
g++ -DHAVE_CONFIG_H -DHAVE_NETINIET_IN_H client/*.cpp client/api/*.cpp client/proxy/*.cpp examples/BatchScanner.cpp -I /usr/local/include/thrift/ -L /usr/local/lib/ -lthrift -o target/BatchScannerExample.o
scannerExample: build
g++ -DHAVE_CONFIG_H -DHAVE_NETINIET_IN_H client/*.cpp client/api/*.cpp client/proxy/*.cpp examples/Scanner.cpp -I /usr/local/include/thrift/ -L /usr/local/lib/ -lthrift -o target/ScannerExample.o
batchWriterExample: build
g++ -DHAVE_CONFIG_H -DHAVE_NETINIET_IN_H client/*.cpp client/api/*.cpp client/proxy/*.cpp examples/BatchWriter.cpp -I /usr/local/include/thrift/ -L /usr/local/lib/ -lthrift -o target/BatchWriterExample.o
createTableExample: build
g++ -DHAVE_CONFIG_H -DHAVE_NETINIET_IN_H client/*.cpp client/api/*.cpp client/proxy/*.cpp examples/CreateTable.cpp -I /usr/local/include/thrift/ -L /usr/local/lib/ -lthrift -o target/CreateTableExample.o