home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Server: Simplify rule for when to update worldstate file.
[plomrogue]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 063bf2f08562f8afae1b0d15d10664d30ab3baa3..96c3aca017841681d83132c3a49771eb9c4707d2 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,5
+1,5
@@
CC=gcc
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
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 $@
mkdir -p $(@D)
$(CC) $(CFLAGS) -c $< -o $@
-# "make clean" to tr
ies
to delete all files that could possibly have been built.
+# "make clean" to tr
y
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 :
# Declare target "phony", i.e. this is not about building a file.
.PHONY : clean
clean :