From 805430a090c0a10f8aa6a8ee8172ccea90e7c491 Mon Sep 17 00:00:00 2001 From: TriantaTV Date: Sun, 26 Feb 2023 19:56:00 -0600 Subject: [PATCH] Added making directories in Makefile --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2507193..75c1ce8 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,10 @@ INC := -I include STD := -std=c++11 SFML := -lsfml-graphics -lsfml-window -lsfml-system -all: compile link +all: dirs compile link + +dirs: + mkdir bin build compile: g++ $(INC) $(STD) -c -o build/main.o src/main.cpp