From 3719528d59ea576fab1e8b5e6feb0f100598f317 Mon Sep 17 00:00:00 2001 From: st529yr Date: Wed, 15 May 2024 13:25:26 +0200 Subject: [PATCH] funguje --- st529yr/Makefile.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 st529yr/Makefile.c diff --git a/st529yr/Makefile.c b/st529yr/Makefile.c new file mode 100644 index 0000000..a46a6d8 --- /dev/null +++ b/st529yr/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 +