Added making directories in Makefile
This commit is contained in:
parent
3c901e5f89
commit
805430a090
5
Makefile
5
Makefile
@ -2,7 +2,10 @@ INC := -I include
|
|||||||
STD := -std=c++11
|
STD := -std=c++11
|
||||||
SFML := -lsfml-graphics -lsfml-window -lsfml-system
|
SFML := -lsfml-graphics -lsfml-window -lsfml-system
|
||||||
|
|
||||||
all: compile link
|
all: dirs compile link
|
||||||
|
|
||||||
|
dirs:
|
||||||
|
mkdir bin build
|
||||||
|
|
||||||
compile:
|
compile:
|
||||||
g++ $(INC) $(STD) -c -o build/main.o src/main.cpp
|
g++ $(INC) $(STD) -c -o build/main.o src/main.cpp
|
||||||
|
Loading…
Reference in New Issue
Block a user