diff --git a/final/Makefile b/final/Makefile new file mode 100644 index 0000000..a46a6d8 --- /dev/null +++ b/final/Makefile @@ -0,0 +1,14 @@ +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 +