diff options
author | Johnny Richard <johnny@johnnyrichard.com> | 2023-04-30 00:43:25 +0200 |
---|---|---|
committer | Johnny Richard <johnny@johnnyrichard.com> | 2023-04-30 00:43:25 +0200 |
commit | 2cabcc44858627f0951d9b702baf8120be7c5cf3 (patch) | |
tree | dd634dd1813c0b5b40a9aaf2ef420883703d5fc2 /Makefile | |
parent | 9f034b4ebfe15844ea610ec2dd2fca1a9f7ce338 (diff) |
style: Add -Wmissing-declarations to CC CFLAGS
The refactoring also replace a if statement by switch statement.
Signed-off-by: Johnny Richard <johnny@johnnyrichard.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,7 +1,7 @@ TARGET := pipac SRC_DIR := src BUILD_DIR := build -CFLAGS := -Werror -Wall -Wextra -pedantic -std=c11 -ggdb +CFLAGS := -Werror -Wall -Wextra -Wmissing-declarations -pedantic -std=c11 -ggdb SRCS := $(wildcard $(SRC_DIR)/*.c) HEADERS := $(wildcard $(SRC_DIR)/*.h) |