diff options
author | Chris Xiong <chirs241097@gmail.com> | 2017-06-17 22:43:07 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2017-06-17 22:43:07 +0800 |
commit | 123771f6b50550d35ba3f6d7c87e240686c23703 (patch) | |
tree | cfaac5cc5195eb10f9e8a246e589f0e498a0475a /examples/makefile | |
parent | 16a560a5e723c27e61f5bba945a089b7b926f4ae (diff) | |
download | SMELT-123771f6b50550d35ba3f6d7c87e240686c23703.tar.xz |
Fixed example application.
Fixed compile errors in Windows.
Diffstat (limited to 'examples/makefile')
-rw-r--r-- | examples/makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/makefile b/examples/makefile index b4844d9..6654d03 100644 --- a/examples/makefile +++ b/examples/makefile @@ -1,9 +1,13 @@ CC= g++ CXXFLAGS= -I/usr/include/freetype2 -I../include -D_LINUX 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 all: $(CC) smelt_test.cpp $(CXXFLAGS) $(LINK_FOLDER) $(LINK) -o smelt_test clean: - rm smelt_test
\ No newline at end of file + rm smelt_test +glfw: + $(CC) smelt_test.cpp $(CXXFLAGS) $(LINK_GLFW_FOLDER) $(LINK_GLFW) -o smelt_test_glfw |