From 93419ee676afecc3d8647cd27fc9504221d6353d Mon Sep 17 00:00:00 2001 From: citrons Date: Thu, 12 Oct 2023 21:58:15 -0500 Subject: display count of objects collected --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile') 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: -- cgit v1.2.3