Skip to content
Browse files

Add debug build to Makefile

  • Loading branch information...
1 parent 567ce72 commit cc2e6f3eff0ade28da6adc978684ee6537982abc @liesen committed Apr 8, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 Makefile
View
3 Makefile
@@ -9,6 +9,9 @@ override LDFLAGS += $(shell apr-1-config --ldflags)
all: server
+debug: CFLAGS += -g -DDEBUG
+debug: all
+
server: $(SOURCES)
$(CC) $(CFLAGS) $(CPPFLAGS) $(SOURCES) $(LDFLAGS) -o $@ $(LDLIBS)

0 comments on commit cc2e6f3

Please sign in to comment.
Something went wrong with that request. Please try again.