add clean target

BodgeMaster-unfinished
Jan Danielzick 2022-06-24 07:25:52 +02:00
parent 49fc41704b
commit 2989acd716
1 changed files with 5 additions and 0 deletions

View File

@ -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