From 73dd1946dddf073bbc30bb64f18ace9e24fed844 Mon Sep 17 00:00:00 2001 From: Josue KONAN Date: Sun, 24 Nov 2024 18:55:25 +0100 Subject: [PATCH] =?UTF-8?q?T=C3=A9l=C3=A9verser=20les=20fichiers=20vers=20?= =?UTF-8?q?"/"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..2257da3 --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +CC = gcc +CFLAGS = -Wall -I. +LDFLAGS = -L/path/to/graph/libs -lgraph -lX11 -lXpm + +SRCS = main.c blocus.c graphics_utils.c +OBJS = $(SRCS:.c=.o) + +all: blocus + +blocus: $(OBJS) + $(CC) -o blocus $(OBJS) $(LDFLAGS) + +clean: + rm -f blocus $(OBJS)