From e45502d3a5bb32005729208797dff57aefc83bfc Mon Sep 17 00:00:00 2001 From: kiritow <1362050620@qq.com> Date: Thu, 1 Jun 2017 22:56:12 +0800 Subject: [PATCH] Fix makefile --- makefile_linux | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/makefile_linux b/makefile_linux index 85a1c68..4322eb0 100644 --- a/makefile_linux +++ b/makefile_linux @@ -1,9 +1,9 @@ -CXXFLAGS = -std=c++14 -Wall -O2 -D__LINUX__ -Iinclude +CXXFLAGS = -std=c++14 -Wall -O2 -s -D__LINUX__ -Iinclude LDFLAGS = -LDLIBS = -lstdc++ -lSDL2_image -lSDL2_net -lSDL2_ttf -lSDL2_mixer -lSDL2_test -lSDL2 -shared +LDLIBS = -lstdc++ -lSDL2_image -lSDL2_net -lSDL2_ttf -lSDL2_mixer -lSDL2_test -lSDL2 -shared -fPIC PROG = program_name -OBJS = MiniEngine.o MiniEngine_Android.o MiniEngine_Event.o MiniEngine_Widget.o sqlite/sqlite3.o MiniEngine_SQLite.o +OBJS = MiniEngine.o MiniEngine_Event.o MiniEngine_Widget.o sqlite/sqlite3.o MiniEngine_SQLite.o all: $(PROG)