From 53e470c8371e986622079355a5f1ef4c1832f310 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Thu, 23 Mar 2017 23:55:33 +0100 Subject: Makefile: Add test target to run sqlitepp_test --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3501abd..5c534ee 100644 --- a/Makefile +++ b/Makefile @@ -36,7 +36,7 @@ else QUIET := @ endif -.PHONY = all clean doc +.PHONY = all clean doc test all: $(TARGETS) @@ -53,6 +53,9 @@ clean: doc: $(INCLUDES) doxygen +test: $(TARGET_TEST) + LD_LIBRARY_PATH=$(LIBRARY_DIR) ./$(TARGET_TEST) + $(TARGET_LIB): $(OBJECTS_LIB) $(info (CXX) $@) $(QUIET)mkdir -p $(LIBRARY_DIR) -- cgit v1.2.3