diff options
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -54,7 +54,10 @@ all: bfs bfs: bftw.o color.o dstring.o eval.o exec.o main.o mtab.o opt.o parse.o printf.o stat.o typo.o util.o $(CC) $(ALL_LDFLAGS) $^ -o $@ -release: CFLAGS := -O3 -flto $(WFLAGS) -DNDEBUG -g +sanitized: CFLAGS := -g $(WFLAGS) -fsanitize=address -fsanitize=undefined +sanitized: bfs + +release: CFLAGS := -g $(WFLAGS) -O3 -flto -DNDEBUG release: bfs %.o: %.c |