summaryrefslogtreecommitdiff
path: root/c/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'c/makefile')
-rw-r--r--c/makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/makefile b/c/makefile
index af85d9e..65977b2 100644
--- a/c/makefile
+++ b/c/makefile
@@ -4,8 +4,8 @@
OBJ = main.o panic.o lex.o token.o
CC = gcc
-CFLAGS = -std=c17 -g -fsanitize=address,undefined -Wall
-LDFLAGS = -std=c17 -g -fsanitize=address,undefined
+CFLAGS = -std=c17 -g3 -fsanitize=address,undefined -Wall -Wdouble-promotion -Wconversion -D_POSIX_C_SOURCE=200809L
+LDFLAGS = -std=c17 -g3 -fsanitize=address,undefined -D_POSIX_C_SOURCE=200809L
lc: $(OBJ)
$(CC) $(LDFLAGS) $(OBJ) -o $@