Skip to content

Commit

Permalink
Tap test refers to mariadb client library
Browse files Browse the repository at this point in the history
  • Loading branch information
Valentin Rakush committed Feb 1, 2020
1 parent 34510af commit 5fe8cea
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions test/tap/tap/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
INCLUDE=../../../deps/json
DEPS_PATH=../../../deps

JSON_IDIR=$(DEPS_PATH)/json
MARIADB_PATH=$(DEPS_PATH)/mariadb-client-library/mariadb_client
MARIADB_IDIR=$(MARIADB_PATH)/include
MARIADB_LDIR=$(MARIADB_PATH)/libmariadb

.PHONY: all
all: libtap.a
Expand All @@ -10,6 +15,6 @@ clean:
OPT=-O2

libtap.a: tap.cpp tap.h command_line.cpp command_line.h utils.cpp utils.h
g++ -c tap.cpp command_line.cpp utils.cpp -std=c++11 -I$(INCLUDE) $(OPT)
g++ -c tap.cpp command_line.cpp utils.cpp -std=c++11 -I$(JSON_IDIR) -I$(MARIADB_IDIR) $(OPT)
ar rcs libtap.a tap.o command_line.o utils.o

0 comments on commit 5fe8cea

Please sign in to comment.