CC = gcc CFLAGS = -Wall -Wextra -std=c99 all: game game: game.c world.o $(CC) $(CFLAGS) -o game game.c world.o world.o: world.c world.h $(CC) $(CFLAGS) -c world.c clean: rm -f game world.o