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