Files
wb-wqs885808 f48ca5c695 patch 223
2023-09-22 11:26:54 +08:00

19 lines
751 B
Makefile

CFLAGS= -I../../include
CCFLAGS= -I../../include
LDFLAGS= -g -L ../../libmariadb/ -lobclnt -lz -lpthread -lgtest
BIN=ob20_appinfo_test ob20_trans_test ob20_clientinfo_test ob20_slowquery_test ob20_bigpacket_response_test ob20_bigpacket_request_test ob20_show_trace_test
EXEC=env LD_LIBRARY_PATH=../../libmariadb/:${LD_LIBRARY_PATH}
all:${BIN}
.PHONY:clean
ob20_appinfo_test:ob20_appinfo_test.c
ob20_trans_test:ob20_trans_test.c
ob20_clientinfo_test:ob20_clientinfo_test.c
ob20_slowquery_test:ob20_slowquery_test.c
ob20_bigpacket_response_test:ob20_bigpacket_response_test.c
ob20_bigpacket_request_test:ob20_bigpacket_request_test.c
ob20_show_trace_test:ob20_show_trace_test.c
# run:
# $(EXEC) ./ob_oracle_array_binding_test
clean:
rm -rf ${BIN} *.o