~ubuntu-branches/ubuntu/hardy/sauerbraten/hardy-backports

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Bruno "Fuddl" Kleinert, Bruno "Fuddl" Kleinert, Cyril Brulebois
  • Date: 2007-08-26 17:45:25 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20070826174525-uiv5yjjk092m95cl
Tags: 0.0.20070819.dfsg-1
[ Bruno "Fuddl" Kleinert ]
* Update the Debian menu file to the latest menu structure
* Remove 10_save_and_load_maps_from_home_directory.dpatch (Upstream solved
  this in this release) (Closes: #426691)
* Remove 10_search_home_for_config.dpatch (Upstream solved this in this
  release)
* Add 10_fix_clean_target.dpatch to avoid calling autotools in clean target
* Add NEWS.Debian

[ Cyril Brulebois ]
* Added XS-Vcs-Svn and XS-Vcs-Browser fields in the control file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
CXX=g++
2
 
CXXOPTFLAGS=-O3 -fomit-frame-pointer
3
 
CXXFLAGS=$(CXXOPTFLAGS) -Wall -fsigned-char -Ienet/include -I. -Ishared -Iengine -Ifpsgame `sdl-config --cflags`
 
1
CXXOPTFLAGS= -O3 -fomit-frame-pointer
 
2
INCLUDES= -Ishared -Iengine -Ifpsgame -Irpggame -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`
 
3
CXXFLAGS= -Wall -fsigned-char $(CXXOPTFLAGS) $(INCLUDES)
4
4
 
5
5
PLATFORM_PREFIX=native
6
 
CLIENT_LIBS=-Lenet -lenet `sdl-config --libs` -lSDL_image -lSDL_mixer -lz -lGL -lGLU 
 
6
CLIENT_LIBS=-Lenet -lenet -L/usr/X11R6/lib `sdl-config --libs` -lSDL_image -lSDL_mixer -lz -lGL -lGLU 
7
7
CLIENT_OBJS= \
8
8
        shared/tools.o \
9
9
        shared/geom.o \
10
10
        engine/3dgui.o \
 
11
        engine/bih.o \
11
12
        engine/client.o \
12
13
        engine/command.o \
13
14
        engine/console.o \
14
 
        engine/crypto.o \
15
15
        engine/cubeloader.o \
16
16
        engine/grass.o \
17
17
        engine/lightmap.o \
32
32
        engine/server.o \
33
33
        engine/serverbrowser.o \
34
34
        engine/shader.o \
35
 
        engine/spheretree.o \
36
35
        engine/sound.o \
37
36
        engine/texture.o \
38
37
        engine/water.o \
41
40
        fpsgame/fps.o \
42
41
        rpggame/rpg.o
43
42
 
44
 
SERVER_LIBS=-Lenet -lenet
 
43
SERVER_LIBS=-Lenet -lenet -lz
45
44
SERVER_OBJS= \
46
45
        shared/tools.o \
47
46
        engine/server-standalone.o \
49
48
 
50
49
default: all
51
50
 
52
 
all: libenet client server
 
51
all: client server
53
52
 
54
53
enet/Makefile:
55
54
        cd enet; ./configure
67
66
fpsgame/fps-standalone.o:
68
67
        $(CXX) $(CXXFLAGS) -DSTANDALONE -c -o fpsgame/fps-standalone.o fpsgame/fps.cpp
69
68
 
70
 
client: $(CLIENT_OBJS)
 
69
client: libenet $(CLIENT_OBJS)
71
70
        $(CXX) $(CXXFLAGS) -o sauer_client $(CLIENT_OBJS) $(CLIENT_LIBS)
72
71
 
73
 
server: $(SERVER_OBJS)
 
72
server: libenet $(SERVER_OBJS)
74
73
        $(CXX) $(CXXFLAGS) -o sauer_server $(SERVER_OBJS) $(SERVER_LIBS)  
75
74
        
76
75
install: all