From 03ca6a675c2d98448d0ba7f75e2009e40eade5ac Mon Sep 17 00:00:00 2001 From: Tudor Roman Date: Tue, 8 Aug 2017 21:38:54 +0300 Subject: [PATCH] very important Makefile debug rule --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index c7b9d2d..7e657f2 100644 --- a/Makefile +++ b/Makefile @@ -12,6 +12,9 @@ CFLAGS += $(NAME_DEFINES) all: $(BIN) +debug: CFLAGS += -O0 -g -DD +debug: $(__NAME__) $(__NAME_CLIENT__) + $(__NAME__): wm.o list.o @echo $@ @$(CC) -o $@ $^ $(LDFLAGS)