diff options
author | visil <workregor@mail.ru> | 2023-10-11 23:30:56 +0300 |
---|---|---|
committer | visil <workregor@mail.ru> | 2023-10-11 23:30:56 +0300 |
commit | a350f65bd8cc4ee74ef8586036397d63eb622737 (patch) | |
tree | 41e6d8da5b4d8ea96e6edce4f4379a89a909f8be /lesson01/Makefile | |
parent | 32ea01632523fef820e28839ef814bf561f28e50 (diff) |
Diffstat (limited to 'lesson01/Makefile')
-rw-r--r-- | lesson01/Makefile | 4 |
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 |