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:
IoIxD
2025-10-01 21:50:47 +00:00
parent 296a7d4e25
commit 31f5208114

View File

@@ -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)