X-Git-Url: https://plomlompom.com/repos/test.html?a=blobdiff_plain;f=Makefile;h=96c3aca017841681d83132c3a49771eb9c4707d2;hb=9a0c71899a4d8f61600c6e317ba8d732f19697ea;hp=6a6fe5b7a9fdd537a74a5c49d9904a87bb187768;hpb=39ab34a368fbe30dc6639e021da89b1a20243fd6;p=plomrogue
diff --git a/Makefile b/Makefile
index 6a6fe5b..96c3aca 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
CC=gcc
-CFLAGS=-Wall -Wextra -Werror -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 :