mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-07 09:59:45 +00:00
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:
@@ -3,9 +3,12 @@
|
|||||||
TARGET = $(shell uname -s)
|
TARGET = $(shell uname -s)
|
||||||
|
|
||||||
CC = gcc
|
CC = gcc
|
||||||
CFLAGS = -Wall -Wextra -Iinclude -g
|
CFLAGS = -Wall -Wextra -Iinclude
|
||||||
LDFLAGS =
|
LDFLAGS =
|
||||||
LIBS =
|
LIBS =
|
||||||
|
ifeq (${DEBUG},1)
|
||||||
|
CFLAGS += -g
|
||||||
|
endif
|
||||||
|
|
||||||
L_CFLAGS = $(CFLAGS) -fPIC -D_MILSKO
|
L_CFLAGS = $(CFLAGS) -fPIC -D_MILSKO
|
||||||
L_LDFLAGS = $(LDFLAGS)
|
L_LDFLAGS = $(LDFLAGS)
|
||||||
|
|||||||
Reference in New Issue
Block a user