changed some docs
[SauerbratenRemote.git] / SauerbratenRemote / src / mingw / Makefile.mingw
blob2512eb2e062b1b669ab8f99f3975da2ccdeb0ce8
1 CXX=g++
2 CXXOPTFLAGS=-O3 -fomit-frame-pointer
3 CXXFLAGS= $(CXXOPTFLAGS) -Wall -fsigned-char -Ienet/include -Iinclude -Ishared -Iengine -Ifpsgame
5 CLIENT_LIBS=-Lenet -Lmingw/lib -lstdc++ -lenet -lmingw32 -lSDLmain -lSDL -lSDL_image -lSDL_mixer -mwindows -lz -lopengl32 -lglu32 -lws2_32 -lwinmm
6 CLIENT_OBJS= \
7         shared/tools.o \
8         shared/geom.o \
9         engine/3dgui.o \
10         engine/bih.o \
11         engine/client.o \
12         engine/command.o \
13         engine/console.o \
14         engine/cubeloader.o \
15         engine/decal.o \
16         engine/dynlight.o \
17         engine/glare.o \
18         engine/grass.o \
19         engine/lightmap.o \
20         engine/main.o \
21         engine/material.o \
22         engine/menus.o \
23         engine/normal.o \
24         engine/octa.o \
25         engine/octaedit.o \
26         engine/octarender.o \
27         engine/physics.o \
28         engine/pvs.o \
29         engine/rendergl.o \
30         engine/rendermodel.o \
31         engine/renderparticles.o \
32         engine/rendersky.o \
33         engine/rendertext.o \
34         engine/renderva.o \
35         engine/server.o \
36         engine/serverbrowser.o \
37         engine/shader.o \
38         engine/shadowmap.o \
39         engine/sound.o \
40         engine/texture.o \
41         engine/water.o \
42         engine/world.o \
43         engine/worldio.o \
44         fpsgame/fps.o \
45         rpggame/rpg.o
47 default: all
49 all: client
51 enet/Makefile:
52         cd enet; ./configure
54 libenet: enet/Makefile
55         $(MAKE) -C enet/ all
57 clean:
58         -$(RM) $(CLIENT_OBJS)
59         $(MAKE) -C enet/ clean
61 client: $(CLIENT_OBJS)
62         $(CXX) $(CXXFLAGS) -o ../bin/sauerbraten.exe $(CLIENT_OBJS) $(CLIENT_LIBS)
63         strip ../bin/sauerbraten.exe