Fix makefile

This commit is contained in:
Kirigaya Kazuto 2017-06-01 22:56:12 +08:00
parent 7cecae5695
commit e45502d3a5

View File

@ -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)