From 2989acd716445d1437586534eb91db73f40317de Mon Sep 17 00:00:00 2001 From: Jan Danielzick Date: Fri, 24 Jun 2022 07:25:52 +0200 Subject: [PATCH] add clean target --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index a3449d3..afcf408 100644 --- a/Makefile +++ b/Makefile @@ -3,3 +3,8 @@ headers = $(wildcard ./src/*.h) main: $(source) $(headers) c++ $(source) $(headers) -o ./bin/minecraft -Wall -Wextra -Werror + +clean: + rm -r bin/ + mkdir bin/ + touch bin/.placeholder \ No newline at end of file