|
|
|
@ -11,7 +11,7 @@ CWARN = -pedantic -Wall -Wextra -Wcast-align -Wcast-qual -Wdisabled-optimization
@@ -11,7 +11,7 @@ CWARN = -pedantic -Wall -Wextra -Wcast-align -Wcast-qual -Wdisabled-optimization
|
|
|
|
|
WARNINGS = -Werror -pedantic -Wall -Wextra -Wcast-align -Wcast-qual -Wctor-dtor-privacy -Wdisabled-optimization -Wformat=2 -Winit-self -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wnoexcept -Wold-style-cast -Woverloaded-virtual -Wredundant-decls -Wshadow -Wsign-conversion -Wsign-promo -Wstrict-null-sentinel -Wstrict-overflow=5 -Wswitch-default -Wundef -Wno-unused -Wzero-as-null-pointer-constant -Wuseless-cast -Wno-strict-overflow |
|
|
|
|
LIBS = -lglfw -lGL -lGLEW -lfreetype -lharfbuzz -lmbedtls -lmbedcrypto -lmbedx509 |
|
|
|
|
LDFLAGS = -O3 -flto=8 |
|
|
|
|
INCPATH = -I /usr/include/freetype2 -I /usr/include/harfbuzz |
|
|
|
|
INCPATH = -I./deps/include # Usable headers are in ./deps - you still need the libraries installed in the usual places |
|
|
|
|
MD5SUM = md5sum |
|
|
|
|
|
|
|
|
|
ifeq ($(UNAME), Darwin) |
|
|
|
@ -28,7 +28,7 @@ LIBS = -lglfw -framework OpenGL -framework Cocoa -framework IOKit -framework Cor
@@ -28,7 +28,7 @@ LIBS = -lglfw -framework OpenGL -framework Cocoa -framework IOKit -framework Cor
|
|
|
|
|
endif |
|
|
|
|
endif |
|
|
|
|
LDFLAGS = -O3 -L/usr/local/lib |
|
|
|
|
INCPATH = -I /usr/local/include -I /usr/local/include/freetype2 -I /usr/local/include/harfbuzz |
|
|
|
|
INCPATH = -I./deps/include |
|
|
|
|
MD5SUM = md5 |
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|