aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2021-09-22 22:44:56 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2021-09-22 22:44:56 +0200
commitc6d85babd9e60d830c347eb2650df10804ba7d40 (patch)
treeaff31b7b18b5a15c46eab4037fee3c0eaa2d9ca2 /Makefile
parent3313fc410be0ffabae019de644f041064b054142 (diff)
downloaddns-c6d85babd9e60d830c347eb2650df10804ba7d40.tar.gz
add chaos testing
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index fa47130..e076f59 100644
--- a/Makefile
+++ b/Makefile
@@ -84,6 +84,10 @@ valgrind: $(DEFAULT)
@echo [EXEC] valgrind $(BUILDDIR)/$(OUTPUT) $(RUNARGS)
valgrind --leak-check=full $(BUILDDIR)/$(OUTPUT) $(RUNARGS)
+chaos: LDFLAGS += -ldl
+chaos: CFLAGS += -D_CHAOS -D_GNU_SOURCE
+chaos: clean debug
+
.PHONY: clean
clean:
@echo [ RM ] $(OBJ) $(TOBJS)