From 6c2ed0090b081bb8c0fd2268974423f81b5f0dd7 Mon Sep 17 00:00:00 2001 From: st529yr Date: Wed, 15 May 2024 13:27:07 +0200 Subject: [PATCH] funguje --- final/Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 final/Makefile 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 +