From b0e5dc8cb0a3a543eec6864fc8a1d35442b33cad Mon Sep 17 00:00:00 2001 From: fredrikr79 Date: Sun, 9 Feb 2025 09:03:58 +0100 Subject: [PATCH] chore: add clean makefile job --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 329d8a9..7269515 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,10 @@ +clean: + rm -rf out/ + mkdir out/ + compile: gcc -W -Wall -Wextra -pedantic -o out/main src/main.c -Iinclude -lpthread -Llib -lSDL3 - run: make compile ./out/main