summaryrefslogtreecommitdiff
path: root/tests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/Makefile b/tests/Makefile
new file mode 100644
index 0000000..21fdd72
--- /dev/null
+++ b/tests/Makefile
@@ -0,0 +1,14 @@
+include ../config.mk
+
+CPPFLAGS += -I ../
+CFLAGS += -fPIC
+
+TEST_PROGS = test-util
+
+all: $(TEST_PROGS)
+ LD_LIBRARY_PATH="$(LD_LIBRARY_PATH):." gtester --verbose $(TEST_PROGS)
+
+${TEST_PROGS}: $(LIBTARGET)
+
+clean:
+ rm -f $(TEST_PROGS)