X-Git-Url: https://plomlompom.com/repos/index.html?a=blobdiff_plain;f=Makefile;h=96c3aca017841681d83132c3a49771eb9c4707d2;hb=a682b00a95dad20d8a85ebd76bb5e276884fc745;hp=063bf2f08562f8afae1b0d15d10664d30ab3baa3;hpb=83a319d17dcafef7c843c41acad8fae9ecf9d784;p=plomrogue
diff --git a/Makefile b/Makefile
index 063bf2f..96c3aca 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
CC=gcc
-CFLAGS=-Wall -Wextra -Werror -Wformat-security -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 :