-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmakefile
23 lines (16 loc) · 826 Bytes
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
release:
g++ -o bin/main.exe main.cpp opengl_ults.cpp glad/include/glad/glad.c -lglfw -lGL -lX11 -lpthread -lXrandr -ldl
releaseShader:
g++ -o main.exe main.cpp opengl_ults.cppshader.cpp glad/include/glad/glad.c -lglfw -lGL -lX11 -lpthread -lXrandr -ldl
test:
g++ -o bin/main_test.exe main_test.cpp opengl_ults.cpp Unity/src/unity.h Unity/src/unity.c glad/include/glad/glad.c -lglfw -lGL -lX11 -lpthread -lXrandr -ldl
testheadless:
g++ -o main_test_headless main_test_headless.cpp opengl_ults.cpp Unity/src/unity.h Unity/src/unity.c glad/include/glad/glad.c -lglfw -lGL -lX11 -lpthread -lXrandr -ldl
run:
make release && ./bin/main.exe
runshader:
make releaseShader && ./bin/main.exe
testrun:
make test && ./bin/main_test.exe
testrunheadless:
make testheadless && ./main_test_headless