Fixed missing build folder on make
This commit is contained in:
parent
85f1dd7a1e
commit
57f0bf52b7
7
Makefile
7
Makefile
@ -1,10 +1,11 @@
|
|||||||
#https://opensource.com/article/18/8/what-how-makefile
|
|
||||||
|
|
||||||
buildfile = ./build/app
|
buildfile = ./build/app
|
||||||
|
|
||||||
macOSFrameworks = -framework CoreVideo -framework IOKit -framework Cocoa -framework GLUT -framework OpenGL
|
macOSFrameworks = -framework CoreVideo -framework IOKit -framework Cocoa -framework GLUT -framework OpenGL
|
||||||
|
|
||||||
all: compile run clean
|
all: init compile run clean
|
||||||
|
|
||||||
|
init:
|
||||||
|
mkdir -p build
|
||||||
|
|
||||||
compile:
|
compile:
|
||||||
clang++ -std=c++17 $(macOSFrameworks) -I ./include/ ./lib/libraylib.a ./src/main.cpp -o $(buildfile)
|
clang++ -std=c++17 $(macOSFrameworks) -I ./include/ ./lib/libraylib.a ./src/main.cpp -o $(buildfile)
|
||||||
|
Loading…
Reference in New Issue
Block a user