From f210f255f480e7fa2df361ce55efd2ce8345aa61 Mon Sep 17 00:00:00 2001 From: Mykola Syniavskyi Date: Sat, 14 Jun 2025 02:55:21 +0000 Subject: [PATCH] =?UTF-8?q?P=C5=99idat=20du8/Makefile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- du8/Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 du8/Makefile diff --git a/du8/Makefile b/du8/Makefile new file mode 100644 index 0000000..ee95243 --- /dev/null +++ b/du8/Makefile @@ -0,0 +1,13 @@ +CC = gcc +CFLAGS = -Wall -Wextra -std=c99 +LDFLAGS = -lncurses + +SRC = main.c game.c world.c +OBJ = $(SRC:.c=.o) +EXEC = Play + +$(EXEC): $(OBJ) + $(CC) $(OBJ) -o $(EXEC) $(LDFLAGS) + +clean: + rm -f $(OBJ) $(EXEC)