From e81f721148331045400c7b127483b4d12943e4d2 Mon Sep 17 00:00:00 2001 From: galaxyhaxz Date: Sat, 23 Jun 2018 09:33:41 -0500 Subject: [PATCH] Add debug to make Type `make debug` to use. --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 2485b07ad..77aed4ea3 100644 --- a/Makefile +++ b/Makefile @@ -21,6 +21,10 @@ LDFLAGS=-L./ -static-libgcc -mwindows all: devilution.exe +debug: CXXFLAGS += -D_DEBUG +debug: CPPFLAGS += -D_DEBUG +debug: devilution.exe + DIABLO_SRC=$(wildcard Source/*.cpp) OBJS=$(DIABLO_SRC:.cpp=.o)