aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@bitgloo.com>2019-09-11 15:32:06 -0400
committerClyne Sullivan <clyne@bitgloo.com>2019-09-11 15:32:06 -0400
commitf9aff3e20795be5ee76769fb3ecc461e9917a116 (patch)
tree84f874996201df0e22cbc81f78a777d4b1fd08f7 /Makefile
parent982605ee21941358080b9e20c9b9b2c2006f2d6a (diff)
added font loading code, untested
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index dbbb640..e586110 100644
--- a/Makefile
+++ b/Makefile
@@ -36,14 +36,15 @@ OBJEXT = o
DEPEXT = d
LIBDIR = lib
-LIBS = -L$(LIBDIR) -lSDL2 -lpthread -lentityx -ldl -lluajit -lGLEW -lGL -lSDL2_image -lSOIL
+LIBS = -L$(LIBDIR) -lSDL2 -lpthread -lentityx -lluajit -ldl -lGLEW -lGL \
+ -lSDL2_image -lSOIL -lfreetype
CXXFLAGS = -ggdb -std=c++17 -Wall -Wextra -Werror -pedantic \
-Wno-class-memaccess -Wno-implicit-fallthrough -m64
CXXINCS = -Isrc -I$(LIBDIR)/LuaJIT/src -I$(LIBDIR)/entityx \
- -I$(LIBDIR)/LuaBridge/Source -I$(LIBDIR)/sol2/include -I$(LIBDIR)/soil \
- -I$(LIBDIR)/cereal/include
+ -I$(LIBDIR)/LuaBridge/Source -I$(LIBDIR)/sol2/include \
+ -I$(LIBDIR)/soil -I$(LIBDIR)/cereal/include -I$(LIBDIR)/freetype
CXXSRC := $(shell find $(SRCDIR) -type f -name *.$(SRCEXT))
CXXOBJ := $(patsubst $(SRCDIR)/%,$(OUTDIR)/%,$(CXXSRC:.$(SRCEXT)=.$(OBJEXT)))