Skip to content

Commit

Permalink
fix to library constexpr in clang builds
Browse files Browse the repository at this point in the history
  • Loading branch information
capnramses committed Mar 14, 2024
1 parent 5fc8d57 commit 990c5f2
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion 03_vertex_buffer_objects/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ int main() {
if ( GL_TRUE != params ) {
fprintf( stderr, "ERROR: could not link shader programme GL index %i\n", shader_programme );
print_programme_info_log( shader_programme );
return false;
return 1;
}

glEnable( GL_CULL_FACE ); // cull face
Expand Down
2 changes: 1 addition & 1 deletion 13_mesh_import/Makefile.osx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BIN = meshimp
CC = clang++
FLAGS = -DAPPLE -Wall -pedantic
FLAGS = -DAPPLE -Wall -pedantic -std=C++11
INC = -I/sw/include -I/usr/local/include
LIBS = -lGLEW -lglfw -lassimp
FRAMEWORKS = -framework Cocoa -framework OpenGL -framework IOKit
Expand Down
2 changes: 1 addition & 1 deletion 15_phongtextures/Makefile.osx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BIN = phongtex
CC = clang++
FLAGS = -DAPPLE -Wall -pedantic
FLAGS = -DAPPLE -Wall -pedantic -std=C++11
INC = -I/sw/include -I/usr/local/include
LIBS = -lGLEW -lglfw -lassimp
FRAMEWORKS = -framework Cocoa -framework OpenGL -framework IOKit
Expand Down
2 changes: 1 addition & 1 deletion 19_fog/Makefile.osx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BIN = fog
CC = clang++
FLAGS = -DAPPLE -Wall -pedantic
FLAGS = -DAPPLE -Wall -pedantic -std=C++11
INC = -I/sw/include -I/usr/local/include
LIBS = -lGLEW -lglfw -lassimp
FRAMEWORKS = -framework Cocoa -framework OpenGL -framework IOKit
Expand Down
2 changes: 1 addition & 1 deletion 20_normal_mapping/Makefile.osx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ BIN = nmap
CC = clang++
FLAGS = -DAPPLE -Wall -pedantic
INC = -I/sw/include -I/usr/local/include
LIBS = -lGLEW -lglfw -lassimp
LIBS = -lGLEW -lglfw -lassimp -std=C++11
FRAMEWORKS = -framework Cocoa -framework OpenGL -framework IOKit
SRC = main.cpp maths_funcs.cpp gl_utils.cpp

Expand Down
2 changes: 1 addition & 1 deletion 21_cube_mapping/Makefile.osx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BIN = cubemap
CC = clang++
FLAGS = -DAPPLE -Wall -pedantic
FLAGS = -DAPPLE -Wall -pedantic -std=C++11
INC = -I/sw/include -I/usr/local/include
LIBS = -lGLEW -lglfw -lassimp
FRAMEWORKS = -framework Cocoa -framework OpenGL -framework IOKit
Expand Down
2 changes: 1 addition & 1 deletion 28_uniform_buffer_object/Makefile.osx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BIN = cubemap
CC = clang++
FLAGS = -DAPPLE -Wall -pedantic
FLAGS = -DAPPLE -Wall -pedantic -std=C++11
INC = -I/sw/include -I/usr/local/include
LIBS = -lGLEW -lglfw -lassimp
FRAMEWORKS = -framework Cocoa -framework OpenGL -framework IOKit
Expand Down
2 changes: 1 addition & 1 deletion 30_skinning_part_one/Makefile.osx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BIN = skin
CC = clang++
FLAGS = -DAPPLE -Wall -pedantic
FLAGS = -DAPPLE -Wall -pedantic -std=C++11
INC = -I/sw/include -I/usr/local/include
LIBS = -lGLEW -lglfw -lassimp
FRAMEWORKS = -framework Cocoa -framework OpenGL -framework IOKit
Expand Down
2 changes: 1 addition & 1 deletion 31_skinning_part_two/Makefile.osx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BIN = skin
CC = clang++
FLAGS = -DAPPLE -Wall -pedantic
FLAGS = -DAPPLE -Wall -pedantic -std=C++11
INC = -I/sw/include -I/usr/local/include
LIBS = -lGLEW -lglfw -lassimp
FRAMEWORKS = -framework Cocoa -framework OpenGL -framework IOKit
Expand Down
2 changes: 1 addition & 1 deletion 32_skinning_part_three/Makefile.osx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BIN = skin
CC = clang++
FLAGS = -DAPPLE -Wall -pedantic
FLAGS = -DAPPLE -Wall -pedantic -std=C++11
INC = -I/sw/include -I/usr/local/include
LIBS = -lGLEW -lglfw -lassimp
FRAMEWORKS = -framework Cocoa -framework OpenGL -framework IOKit
Expand Down

0 comments on commit 990c5f2

Please sign in to comment.