move -g compiler option from default line to debug line

This commit is contained in:
Yuichi Nishiwaki 2013-11-06 18:55:38 +09:00
parent b0a4249220
commit dcb3820054
1 changed files with 2 additions and 2 deletions

View File

@ -1,11 +1,11 @@
CC=gcc
CFLAGS=-Wall -g -O3
CFLAGS=-Wall -O3
all: build-debug run
release: build
build-debug: CFLAGS += -DDEBUG=1
build-debug: CFLAGS += -g -DDEBUG=1
build-debug: build
build: build-lib build-main