From 1eb88d4f5d5cb05d62be1d4a0c88c7399f7c0de0 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Sat, 3 Feb 2018 00:55:26 +0800 Subject: Added the GL 3.2+ port. Fixed poor performance of the truetype renderer. (Partially) Fixed texture locking. Minor addition and fixes to the math library. --- examples/makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'examples/makefile') diff --git a/examples/makefile b/examples/makefile index 6654d03..d25e638 100644 --- a/examples/makefile +++ b/examples/makefile @@ -1,13 +1,18 @@ CC= g++ -CXXFLAGS= -I/usr/include/freetype2 -I../include -D_LINUX +CXXFLAGS= -I/usr/include/freetype2 -I../include -D_LINUX -g LINK= -lSDL2 -lvorbis -lvorbisfile -lopenal -ljpeg -lpng -lfreetype -lz -lsmeltext -lsmelt -lCxImage LINK_GLFW= -lglfw -lGLEW -lGL -lvorbis -lvorbisfile -lopenal -ljpeg -lpng -lfreetype -lz -lsmeltext -lsmelt -lCxImage LINK_FOLDER= -L../smelt/sdl -L../extensions LINK_GLFW_FOLDER= -L../smelt/glfw -L../extensions +LINK_GLFW_M_FOLDER= -L../smelt/glfw_m -L../extensions -all: +all: sdl glfw glfw_m + +sdl: $(CC) smelt_test.cpp $(CXXFLAGS) $(LINK_FOLDER) $(LINK) -o smelt_test clean: rm smelt_test glfw: $(CC) smelt_test.cpp $(CXXFLAGS) $(LINK_GLFW_FOLDER) $(LINK_GLFW) -o smelt_test_glfw +glfw_m: + $(CC) smelt_test.cpp $(CXXFLAGS) $(LINK_GLFW_M_FOLDER) $(LINK_GLFW) -o smelt_test_glfw_m -- cgit v1.2.3