diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -3,8 +3,8 @@ CC=gcc #LDFLAGS=-lncurses -lmagic CFLAGS=-Wall -Wextra -Wpedantic -Wstrict-prototypes -Wmissing-prototypes -g -LDFLAGS=-lncurses -lmagic -fsanitize=address -fsanitize=undefined -#LDFLAGS=-lncurses -lmagic +#LDFLAGS=-lncurses -lmagic -fsanitize=address -fsanitize=undefined +LDFLAGS=-lncurses -lmagic TARGET=sf SRCS=$(wildcard *.c) @@ -33,6 +33,9 @@ debug: $(TARGET) $(CC) $(OBJS) $(LDFLAGS) -O0 -o $@ valgrind --tool=memcheck --leak-check=full --show-leak-kinds=all --undef-value-errors=no --log-file=log ./sf +analyze: + cppcheck --enable=all --suppress=missingIncludeSystem . + clang --analyze *.c clean: rm -f $(OBJS) $(TARGET) |
