aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2019-11-02 16:37:16 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2019-11-02 16:37:16 +0100
commit0ef067ee3c394a296a8e091e8b365e29036df085 (patch)
tree3e2be373301bb104d64eaf21fd84d3539e8ec4a6 /Makefile
parentfeb3a1f1d9df66976a108a27db6b64d35c3dd988 (diff)
downloaddns-0ef067ee3c394a296a8e091e8b365e29036df085.tar.gz
Makefile add test
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)