From dfdddad465cc954daf99e88e6a6de0694fef820c Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Sun, 22 Sep 2013 21:07:21 -0700 Subject: [PATCH] Default to compiling with debugging symbols. Which is obviously much more convenient for debugging. The user can still override this with something like: make CFLAGS=-O2 --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 08511cc..7d7d612 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,7 @@ scherzo_srcs := \ scherzo_modules = $(scherzo_srcs:.c=.o) +CFLAGS ?= -g WARN_CFLAGS = -Wall -Wextra SCHERZO_CFLAGS = $(CFLAGS) $(WARN_CFLAGS) $(CONFIGURE_CFLAGS) $(extra_cflags) -I./mnemon `pkg-config --cflags gtk+-2.0 alsa` -- 2.43.0