move -g compiler option from default line to debug line
This commit is contained in:
parent
b0a4249220
commit
dcb3820054
4
Makefile
4
Makefile
|
@ -1,11 +1,11 @@
|
||||||
CC=gcc
|
CC=gcc
|
||||||
CFLAGS=-Wall -g -O3
|
CFLAGS=-Wall -O3
|
||||||
|
|
||||||
all: build-debug run
|
all: build-debug run
|
||||||
|
|
||||||
release: build
|
release: build
|
||||||
|
|
||||||
build-debug: CFLAGS += -DDEBUG=1
|
build-debug: CFLAGS += -g -DDEBUG=1
|
||||||
build-debug: build
|
build-debug: build
|
||||||
|
|
||||||
build: build-lib build-main
|
build: build-lib build-main
|
||||||
|
|
Loading…
Reference in New Issue