2 # Build file for attac-man, a fork of Pacman Arena
7 CFLAGS
=@CFLAGS@
-I@top_srcdir@
/include -DDATADIR
="\"@datadir@/attac-man\""
9 OBJS
=file.o bomb.o particle.o shot.o audio.o map.o object.o math.o gfx.o \
10 game.o player.o ghost.o menu.o input.o screen.o render.o render_bomb.o \
11 render_player.o render_ghost.o render_map.o render_particle.o \
12 render_shot.o net.o oglconsole.o
14 # data files to be installed
16 DATA_SFX
=sfx
/chomp.wav sfx
/eat-ghost.wav sfx
/explosion.wav sfx
/gameover.ogg \
17 sfx
/ghost-return.wav sfx
/glomp.wav sfx
/hiscore.ogg \
18 sfx
/hummingbird.ogg sfx
/pacman-die.wav sfx
/rocket-launch.wav \
21 DATA_GFX
=gfx
/1024-768-high.tga gfx
/1024-768-low.tga gfx
/1400-1050-high.tga \
22 gfx
/1400-1050-low.tga gfx
/640-480-high.tga gfx
/640-480-low.tga \
23 gfx
/800-600-high.tga gfx
/800-600-low.tga gfx
/high_scores-high.tga \
24 gfx
/high_scores-low.tga gfx
/bomb
.3d gfx
/dot-yellow.tga \
25 gfx
/exit-high.tga gfx
/exit-low.tga gfx
/game-over.tga \
26 gfx
/ghost-green-dying
.3d gfx
/ghost-green-moving
.3d \
27 gfx
/ghost-green-returning
.3d gfx
/level-complete.tga \
28 gfx
/pacman-arena-banner.tga gfx
/pacman-dying
.3d \
29 gfx
/pacman-jumping
.3d gfx
/pacman-moving
.3d gfx
/pacman-stopped
.3d \
30 gfx
/particle.tga gfx
/resolution-high.tga gfx
/resolution-low.tga \
31 gfx
/rocket
.3d gfx
/start-game-high.tga gfx
/start-game-low.tga \
32 gfx
/wall-horizontal
.3d gfx
/wall-ll
.3d gfx
/wall-lr
.3d gfx
/wall-ul
.3d \
33 gfx
/wall-ur
.3d gfx
/wall-vertical
.3d
37 attac-man
: $(OBJS
) main.c
38 $(CC
) $(CFLAGS
) -o attac-man main.c
$(OBJS
) $(LDFLAGS
)
40 3dsconv
: 3dsconv.c tds.o object-3ds.o file.o
41 $(CC
) $(CFLAGS
) -o
$@
$^
$(LDFLAGS
) -l3ds
43 object-3ds.o
: object.c
44 $(CC
) $(CFLAGS
) -DTDSCONV
-c
-o
$@
$^
51 install -d @
datadir@
/attac-man
/sfx @
datadir@
/attac-man
/gfx
52 # XXX - @bindir@ ends up in /bin, what to do here ?
53 install -c attac-man
${prefix}/bin
54 install -c
$(DATA_SFX
) @
datadir@
/attac-man
/sfx
55 install -c
$(DATA_GFX
) @
datadir@
/attac-man
/gfx
58 rm -f attac-man
$(OBJS
) main.o
3dsconv
3dsconv.o tds.o object-3ds.o
*~
61 rm -rf aclocal.m4 autom4te.cache config.h config.h.in \
62 config.log config.status config.sub configure \
63 configure.lineno Makefile config.guess missing \