Address GitLab issue #11: trivial patch for macports/osx requirements
[open-adventure.git] / Makefile
index 88fd80719260b4c08fa344158f4a1a41039c2add..061087a8a40b8ac36c0d2644f1ad8ddcfa1b0c6d 100644 (file)
--- a/Makefile
+++ b/Makefile
 # If you have pip installed,
 #
 # pip3 install PyYAML
+#
+# If you are using MacPorts on OS X:
+# port install py3{5,6}-yaml as appropriate for your Python 3 version.
 
 VERS=1.0
 
 CC?=gcc
-CCFLAGS+=-std=c99 -D _DEFAULT_SOURCE -Wall -Wpedantic -g
+CCFLAGS+=-std=c99 -D _DEFAULT_SOURCE -Wall -Wpedantic -Wextra -g
 LIBS=
 UNAME_S := $(shell uname -s)
 ifeq ($(UNAME_S),Linux)
@@ -42,13 +45,13 @@ main.o:             advent.h database.h common.h newdb.h
 
 init.o:                advent.h database.h common.h newdb.h
 
-actions.o:     advent.h database.h common.h
+actions.o:     advent.h database.h common.h newdb.h
 
 score.o:       advent.h database.h common.h newdb.h
 
 misc.o:                advent.h database.h common.h newdb.h
 
-saveresume.o:  advent.h database.h common.h
+saveresume.o:  advent.h database.h common.h newdb.h
 
 common.o:      common.h