diff --git a/makefile b/makefile index 3a9ec43..0284420 100644 --- a/makefile +++ b/makefile @@ -1,9 +1,9 @@ -CXXFLAGS = -std=c++14 -Wall -D__C4DROID__ +CXXFLAGS = -std=c++14 -Wall -O2 -D__C4DROID__ -Iinclude LDFLAGS = LDLIBS = -lSDL2_image -lSDL2_net -ltiff -ljpeg -lpng -lz -lSDL2_ttf -lfreetype -lSDL2_mixer -lSDL2_test -lsmpeg2 -lvorbisfile -lvorbis -logg -lstdc++ -lSDL2 -lEGL -lGLESv1_CM -lGLESv2 -landroid -Wl,--no-undefined -shared PROG = program_name -OBJS = basic_config.o sdl_engine.o config.o InitManager.o mini_engine.o App.o main.o MiniEngine/Widget.o +OBJS = basic_config.o sdl_engine.o config.o InitManager.o mini_engine.o App.o main.o all: $(PROG)