X-Git-Url: https://plomlompom.com/repos/index.html?a=blobdiff_plain;ds=sidebyside;f=Makefile;h=96c3aca017841681d83132c3a49771eb9c4707d2;hb=d92f16d5959fc846d3eaf669517eecb3969cda08;hp=3280dd35c31aec8b2791fd23586e0bd9ed76cf0c;hpb=e23ea3a560a432304851b6bcd7781f18181873e6;p=plomrogue
diff --git a/Makefile b/Makefile
index 3280dd3..96c3aca 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
CC=gcc
-CFLAGS=-Wall -Wextra -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 :