aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
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)