summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorcitrons <citrons@mondecitronne.com>2023-10-12 21:58:15 -0500
committercitrons <citrons@mondecitronne.com>2023-10-12 21:58:15 -0500
commit93419ee676afecc3d8647cd27fc9504221d6353d (patch)
treea3c60f2d66493754103e3653d58690120f1c6cb3 /Makefile
parent5ff2902259cc135375f526005a79d1e8cd83816b (diff)
display count of objects collected
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 1bf7aae..52d1409 100644
--- a/Makefile
+++ b/Makefile
@@ -3,13 +3,14 @@ SDL_HEADERS=/usr/include/SDL2
CFLAGS=-g -Wall -pedantic -std=c99 $$(sdl2-config --cflags)
LFLAGS=$$(sdl2-config --libs)
-findgame: main.o world.o random.o generator.o save.o die.o
+findgame: main.o world.o random.o generator.o save.o counter.o die.o
$(CC) -o $@ $^ $(LFLAGS)
main.o: world.h random.h save.h
-world.o: world.h random.h generator.h save.h
+world.o: world.h random.h generator.h save.h counter.h
generator.o: world.h random.h
save.o: world.h die.h
+counter.o: digits.h
.SUFFIXES: .c .o
.c.o: