aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5b3dcac..13462bc 100644
--- a/Makefile
+++ b/Makefile
@@ -18,6 +18,10 @@ build: dir $(OBJ)
debug: CFLAGS += -g -D _DEBUG
debug: build;
+test: LDFLAGS += -Wl,-etest_main
+test: debug
+ $(BUILDDIR)/$(OUTPUT)
+
dir:
@mkdir -p $(OBJECTDIR)
@mkdir -p $(BUILDDIR)