From: Carl Worth Date: Mon, 23 Sep 2013 04:07:21 +0000 (-0700) Subject: Default to compiling with debugging symbols. X-Git-Url: https://git.cworth.org/git?p=scherzo;a=commitdiff_plain;h=dfdddad465cc954daf99e88e6a6de0694fef820c 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 --- 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`