Add PNG loading support
This commit is contained in:
parent
4d4cbd334f
commit
ea9a94dc08
3 changed files with 158 additions and 22 deletions
4
Makefile
4
Makefile
|
|
@ -1,8 +1,8 @@
|
|||
LINK_FLAGS=-lm -lpthread -ldl -lm -lGLEW -lEGL -lGL -lGLU -lOpenGL -lglfw -lfreetype
|
||||
LINK_FLAGS=-lm -lpthread -ldl -lm -lGLEW -lEGL -lGL -lGLU -lOpenGL -lglfw -lfreetype -lpng16 -lz
|
||||
|
||||
CFLAGS=-I./include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -Iimgui -pthread -fno-exceptions
|
||||
|
||||
.PHONY: hexnando
|
||||
|
||||
hexnando: main.cpp
|
||||
g++ -std=c++20 -Wall -g -Wextra -pedantic -Werror -Og main.cpp ${LINK_FLAGS} ${CFLAGS} -o hexnando
|
||||
g++ -std=c++20 -Wall -g -Wextra -pedantic -Werror -Wno-calloc-transposed-args -Og main.cpp ${LINK_FLAGS} ${CFLAGS} -o hexnando
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue