Fix CFLAGS

This commit is contained in:
Alex D. 2021-11-28 18:47:39 +00:00
parent f276753dc9
commit 1a3764a5d0
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
1 changed files with 5 additions and 5 deletions

View File

@ -1,10 +1,10 @@
# Defaults
CXX = clang
CC = clang
DEBUG = 1
STATIC = 0
LDFLAGS =
CXXFLAGS =\
CFLAGS =\
-std=c99\
-Weverything\
-Wno-padded\
@ -29,13 +29,13 @@ LDFLAGS +=\
$(addprefix -L,${LIBDIR})\
$(addprefix -l,${LIB})
CXXFLAGS +=\
CFLAGS +=\
$(addprefix -I,${INCDIR})
ifeq (${DEBUG},1)
CXXFLAGS += -g
CFLAGS += -g
else
CXXFLAGS += -O2 -Werror
CFLAGS += -O2 -Werror
endif
ifeq (${STATIC},1)