From 037a59caa3220a95b580322c08cc3be6cac90906 Mon Sep 17 00:00:00 2001 From: "Lalit2.Dangi@live.uwe.ac.uk" <lalit2.dangi@live.uwe.ac.uk> Date: Tue, 1 Apr 2025 09:12:14 +0000 Subject: [PATCH] Makefile --- Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..1a18669 --- /dev/null +++ b/Makefile @@ -0,0 +1,11 @@ +CC = gcc +CFLAGS = -Wall -std=c99 +LDFLAGS = -lraylib -lGL -lm -lpthread -ldl -lrt -lX11 + +all: main + +main: main.c game.c + $(CC) $(CFLAGS) -o main main.c game.c $(LDFLAGS) + +clean: + rm -f main -- GitLab