2 CXXOPTFLAGS=-O3 -fomit-frame-pointer
\r
3 CXXFLAGS= $(CXXOPTFLAGS) -Wall -fsigned-char -Ienet/include -Iinclude -Ishared -Iengine -Ifpsgame
\r
5 CLIENT_LIBS=-Lenet -Lmingw/lib -lstdc++ -lenet -lmingw32 -lSDLmain -lSDL -lSDL_image -lSDL_mixer -mwindows -lfmod -lz -lopengl32 -lglu32 -lws2_32 -lwinmm
\r
14 engine/cubeloader.o \
\r
23 engine/octarender.o \
\r
26 engine/rendermodel.o \
\r
27 engine/renderparticles.o \
\r
28 engine/rendersky.o \
\r
29 engine/rendertext.o \
\r
32 engine/serverbrowser.o \
\r
34 engine/shadowmap.o \
\r
48 cd enet; ./configure
\r
50 libenet: enet/Makefile
\r
51 $(MAKE) -C enet/ all
\r
54 -$(RM) $(CLIENT_OBJS)
\r
55 $(MAKE) -C enet/ clean
\r
57 client: $(CLIENT_OBJS)
\r
58 $(CXX) $(CXXFLAGS) -o ../bin/sauerbraten-mingw.exe $(CLIENT_OBJS) $(CLIENT_LIBS)
\r
59 strip ../bin/sauerbraten-mingw.exe
\r