File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -20,10 +20,10 @@ CC := gcc
20
20
# LIBRARIES
21
21
STB_CFLAGS: =-I$(DEPS_DIR ) /src/stb
22
22
OPENSSL_LDFLAGS := -lssl -lcrypto
23
- GLEW_LDFLAGS := -lGLEW
24
- SDL2_CFLAGS: = $( shell sdl2-config --cflags)
25
- SDL2_LDFLAGS := $(shell sdl2 -config --libs) -lSDL2_image
26
- OPENGL_LDFLAGS := $(SDL2_LDFLAGS ) $( GLEW_LDFLAGS ) -lGL
23
+ GLAD_LDFLAGS := -lglad
24
+ OPENGL_LDFLAGS := $( GLAD_LDFLAGS ) -lGL
25
+ FREETYPE_CFLAGS := $(shell pkg -config --cflags freetype2)
26
+ FREETYPE_LDFLAGS := $(shell pkg-config --libs freetype2)
27
27
BLAS_LDFLAGS := -lblas -llapack -llapacke
28
28
SUITESPARSE_LDFLAGS := -llapack -lcamd -lamd -lccolamd -lcolamd -lcholmod -lcxsparse
29
29
CERES_CFLAGS := -I/usr/include/eigen3
@@ -55,8 +55,8 @@ CFLAGS += \
55
55
-I$(INC_DIR ) \
56
56
-I$(DEPS_DIR ) /include \
57
57
-fPIC \
58
- $(SDL2_CFLAGS ) \
59
58
$(STB_CFLAGS ) \
59
+ $(FREETYPE_CFLAGS ) \
60
60
$(CERES_CFLAGS )
61
61
62
62
@@ -73,6 +73,7 @@ LDFLAGS= \
73
73
$(OPENSSL_LDFLAGS ) \
74
74
$(ASSIMP_LDFLAGS ) \
75
75
$(YAML_LDFLAGS ) \
76
+ $(FREETYPE_LDFLAGS ) \
76
77
-lglfw3 \
77
78
-lstdc++ \
78
79
-lpthread \
You can’t perform that action at this time.
0 commit comments