summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--main.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b0f651d..5ffa84a 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ LFLAGS=$$(sdl2-config --libs)
findgame: main.o world.o random.o generator.o save.o
$(CC) -o $@ $^ $(LFLAGS)
-main.o: world.h random.h
+main.o: world.h random.h save.h
world.o: world.h random.h generator.h save.h
generator.o: world.h random.h
save.o: world.h die.h
diff --git a/main.c b/main.c
index 766292c..2443d7a 100644
--- a/main.c
+++ b/main.c
@@ -2,6 +2,7 @@
#include "world.h"
#include "random.h"
+#include "save.h"
static SDL_Window *win;
static SDL_Renderer *rend;