diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-05-28 01:59:03 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-05-28 01:59:03 -0400 |
| commit | 31649edc7777e9cf6098cc7bf780f2f963b26d33 (patch) | |
| tree | aa8b280492b18d31144cfae1320a146028315b1e /Makefile | |
| parent | 59c5470adeb99da30dfd9d45a6035ec0936b29f3 (diff) | |
Add some fixes and compiler flags
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -2,7 +2,8 @@ NAME=bp CC=cc PREFIX=/usr/local SYSCONFDIR=/etc -CFLAGS=-std=c99 -Werror -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -flto=auto -fvisibility=hidden +CFLAGS=-std=c11 -Werror -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -fPIC -flto=auto -fvisibility=hidden \ + -fsanitize=signed-integer-overflow -fno-sanitize-recover CWARN=-Wall -Wextra -Wno-format # -Wpedantic -Wsign-conversion -Wtype-limits -Wunused-result -Wnull-dereference \ # -Waggregate-return -Walloc-zero -Walloca -Warith-conversion -Wcast-align -Wcast-align=strict \ @@ -46,6 +47,7 @@ tags: $(CFILES) bp.c clean: rm -f $(NAME) $(OBJFILES) + @cd Lua && make clean lua: @cd Lua && make |
