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 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)