mirror of
https://github.com/theoludwig/libcproject.git
synced 2024-12-11 21:13:00 +01:00
chore: improve Makefile to use -fsanitize=address -fsanitize=undefined gcc flags
Fixes #5
This commit is contained in:
parent
145dfcf546
commit
316dfa10e7
2
Makefile
2
Makefile
@ -1,6 +1,6 @@
|
||||
LIBRARY_NAME = libcproject
|
||||
CC = gcc
|
||||
CC_FLAGS = -Wall -Wextra -Wfloat-equal -Wundef -Werror -std=c17 -pedantic -pedantic-errors -O3 -I./
|
||||
CC_FLAGS = -Wall -Wextra -Wfloat-equal -Wundef -Werror -std=c17 -pedantic -pedantic-errors -O3 -fsanitize=address -fsanitize=undefined -I./
|
||||
LIB = ./build/${LIBRARY_NAME}.a
|
||||
LIB_CC_FLAGS = -L. -l:${LIB}
|
||||
LIB_SOURCES = $(wildcard lib/*.c)
|
||||
|
Loading…
Reference in New Issue
Block a user