ok instead of adding -g to the makefile and forgetting I'm just gonna make it so you can make with debug symbols using 'DEBUG=1 make'
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@114 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
296a7d4e25
commit
31f5208114
1 changed files with 4 additions and 1 deletions
|
|
@ -3,9 +3,12 @@
|
|||
TARGET = $(shell uname -s)
|
||||
|
||||
CC = gcc
|
||||
CFLAGS = -Wall -Wextra -Iinclude -g
|
||||
CFLAGS = -Wall -Wextra -Iinclude
|
||||
LDFLAGS =
|
||||
LIBS =
|
||||
ifeq (${DEBUG},1)
|
||||
CFLAGS += -g
|
||||
endif
|
||||
|
||||
L_CFLAGS = $(CFLAGS) -fPIC -D_MILSKO
|
||||
L_LDFLAGS = $(LDFLAGS)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue