From 39ec615b54c0cc2734ac29ba4caac574c21503a4 Mon Sep 17 00:00:00 2001 From: Quentin Rameau Date: Mon, 12 Aug 2019 14:31:10 +0200 Subject: Arrange makefile debug target Do not try defining macros in the prerequisite section Make the DEBUG macro a config macro --- config.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config.mk') diff --git a/config.mk b/config.mk index f5237db..6850d1e 100644 --- a/config.mk +++ b/config.mk @@ -3,5 +3,5 @@ PREFIX = /usr/local BINDIR = ${PREFIX}/bin MANDIR = ${PREFIX}/share/man -CFLAGS = -O3 -std=c99 -pedantic -Wall -#CC = cc +CFLAGS = -O3 -std=c99 +DEBUG = -O0 -std=c99 -Wall -pedantic -g -DDEBUG -- cgit v1.2.3