Add test macro and a few more functions
This commit is contained in:
parent
c171a2ff7a
commit
2ff1e0791b
3 changed files with 65 additions and 12 deletions
|
|
@ -12,10 +12,10 @@ SRC = $(wildcard *.c)
|
|||
# -Wall to get all the possible warnings
|
||||
# -ansi -pendantic to get portable code
|
||||
ifeq ($(DEBUG),yes)
|
||||
CFLAGS=-W -Wall -ansi -pedantic -g -std=c23
|
||||
LDFLAGS= -Wall -lm
|
||||
CFLAGS=-Wall -Wpedantic -g3 -std=c23 -Wextra -Wconversion -Wshadow -fsanitize=address,undefined -fno-omit-frame-pointer -fno-optimize-sibling-calls
|
||||
LDFLAGS= -Wall -lm -fsanitize=address,undefined
|
||||
else
|
||||
CFLAGS=-W -Wall -ansi -pedantic -std=c23 -O3
|
||||
CFLAGS=-W -Wall -pedantic -std=c23 -O3
|
||||
LDFLAGS= -Wall -lm
|
||||
endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue