Makefile.inc: organize LC_SRCS and use WARNINGS instead of defining our own

This commit is contained in:
Lucas Gabriel Vuotto 2024-06-05 23:10:04 +00:00
parent e9bcc64e62
commit dd94f1e75d

View File

@ -1,17 +1,9 @@
LC_SRCS+= aead.c aead_chacha20_poly1305.c
LC_SRCS+= auth.c auth_poly1305.c
LC_SRCS+= cipher.c cipher_chacha20.c
LC_SRCS+= aead.c aead_chacha20_poly1305.c
LC_SRCS+= impl_chacha20.c impl_poly1305.c
LC_SRCS+= ct.c util.c
CFLAGS+= -Wall
CFLAGS+= -Wextra
CFLAGS+= -Wmissing-declarations
CFLAGS+= -Wmissing-prototypes
CFLAGS+= -Wpointer-arith
CFLAGS+= -Wshadow
CFLAGS+= -Wstrict-prototypes
CFLAGS+= -Wunused
CFLAGS+= -Wno-unused-parameter
WARNINGS= Yes
.include <bsd.own.mk>