summaryrefslogtreecommitdiff
path: root/lesson01/Makefile
diff options
context:
space:
mode:
authorvisil <workregor@mail.ru>2023-10-11 23:30:56 +0300
committervisil <workregor@mail.ru>2023-10-11 23:30:56 +0300
commita350f65bd8cc4ee74ef8586036397d63eb622737 (patch)
tree41e6d8da5b4d8ea96e6edce4f4379a89a909f8be /lesson01/Makefile
parent32ea01632523fef820e28839ef814bf561f28e50 (diff)
Добавил опцию сборки WIREFRAME; упражнение с переворачиванием фигуры в шейдереHEADmaster
Diffstat (limited to 'lesson01/Makefile')
-rw-r--r--lesson01/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lesson01/Makefile b/lesson01/Makefile
index d99099b..c95b3d5 100644
--- a/lesson01/Makefile
+++ b/lesson01/Makefile
@@ -1,2 +1,4 @@
+WIREFRAME?=0
+
default:
- g++ -DWIREFRAME -I../include -lglfw -lGL -lX11 -lpthread -lXrandr -lXi -ldl main.cpp ../src/glad.c && ./a.out
+ g++ -DWIREFRAME=${WIREFRAME} -I../include -lglfw -lGL -lX11 -lpthread -lXrandr -lXi -ldl main.cpp ../src/glad.c && ./a.out