From fef2fe6a557fc641a68a71d125ddf079a7dba6bb Mon Sep 17 00:00:00 2001 From: st529yr Date: Wed, 15 May 2024 13:23:53 +0200 Subject: [PATCH] funguje --- Makefile.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Makefile.c 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 +