X-Git-Url: https://plomlompom.com/repos/test.html?a=blobdiff_plain;f=Makefile;h=96c3aca017841681d83132c3a49771eb9c4707d2;hb=ef60270da2acf29953b411632e26503d7787d9d8;hp=c7831bd86e01a79c5abc0a449d2efba192eceff0;hpb=dd9d65ee727ac7e95801da0f8b5bae7009811802;p=plomrogue
diff --git a/Makefile b/Makefile
index c7831bd..96c3aca 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
CC=gcc
-CFLAGS=-Wall -g
+CFLAGS=-std=c11 -pedantic-errors -Wall -Werror -Wextra -Wformat-security -g
TARGET_SERVER=roguelike-server
TARGET_CLIENT=roguelike-client
SRCDIR=src
@@ -33,7 +33,7 @@ $(BUILDDIR)/%.o : $(SRCDIR)/%.c
mkdir -p $(@D)
$(CC) $(CFLAGS) -c $< -o $@
-# "make clean" to tries to delete all files that could possibly have been built.
+# "make clean" to try to delete all files that could possibly have been built.
# Declare target "phony", i.e. this is not about building a file.
.PHONY : clean
clean :