raylib-cpp-template/Makefile
Jonathan Moallem 85f1dd7a1e Initial commit
2020-11-19 14:55:38 +11:00

16 lines
368 B
Makefile

#https://opensource.com/article/18/8/what-how-makefile
buildfile = ./build/app
macOSFrameworks = -framework CoreVideo -framework IOKit -framework Cocoa -framework GLUT -framework OpenGL
all: compile run clean
compile:
clang++ -std=c++17 $(macOSFrameworks) -I ./include/ ./lib/libraylib.a ./src/main.cpp -o $(buildfile)
run:
$(buildfile)
clean:
rm $(buildfile)