1
2NULL =
3gamesdir = $(prefix)/bin
4scoredir = /var/games/tecnoballz
5score = tecnoballz.hi
6
7SUBDIRS = TecnoballZ
8
9games_PROGRAMS = tecnoballz
10tecnoballz_SOURCES = $(SOURCES_MAIN)
11tecnoballz_CXXFLAGS = -DDATADIR=\"$(datadir)/tecnoballz\" \
12                      -DSCOREFILE=\"$(scoredir)/$(score)\" \
13                      @SDL_CFLAGS@ @MIKMOD_FLAGS@
14#tecnoballz_LDADD = @SDL_LIBS@ @MM_LIBS@ @MIKMOD_LIBS@
15tecnoballz_LDADD = @SDL_LIBS@ @MIKMOD_LIBS@ @TINYXML_LIBS@
16
17install-data-hook:
18	$(INSTALL) -d $(DESTDIR)/$(scoredir)
19	$(INSTALL) ../$(score) $(DESTDIR)/$(scoredir)
20
21SOURCES_MAIN = \
22  bitmap_data.cc \
23  configfile.cc \
24  controller_balls.cc \
25  controller_bricks.cc \
26  controller_bullets.cc \
27  controller_capsules.cc \
28  controller_ejectors.cc \
29  controller_explosions.cc \
30  controller_font_game.cc \
31  controller_font_menu.cc \
32  controller_game_over.cc \
33  controller_gems.cc \
34  controller_gigablitz.cc \
35  controller_guardians.cc \
36  controller_indicators.cc \
37  controller_magnetic_eyes.cc \
38  controller_moneys.cc \
39  controller_paddles.cc \
40  controller_projectiles.cc \
41  controller_ships.cc \
42  controller_sides_bricks.cc \
43  controller_spheres.cc \
44  controller_viewfinders.cc \
45  display_text_bitmap.cc \
46  handler_audio.cc \
47  handler_display.cc \
48  handler_high_score.cc \
49  handler_keyboard.cc \
50  handler_menu_events.cc \
51  handler_players.cc \
52  handler_popup_menu.cc \
53  handler_resources.cc \
54  head_animation.cc \
55  handler_levels.cc \
56  lispreader.cc \
57  list_sprites.cc \
58  main.cc \
59  offscreen_surface.cc \
60  right_panel_score.cc \
61  short_info_messages.cc \
62  sprite_ball.cc \
63  sprite_bullet.cc \
64  sprite_brick.cc \
65  sprite_capsule.cc \
66  sprite_display_menu.cc \
67  sprite_display_scores.cc \
68  sprite_eye.cc \
69  sprite_font_game.cc \
70  sprite_font_menu.cc \
71  sprite_gem.cc \
72  sprite_gigablitz.cc \
73  sprite_guardian.cc \
74  sprite_money.cc \
75  sprite_mouse_pointer.cc \
76  sprite_object.cc \
77  sprite_paddle.cc \
78  sprite_projectile.cc \
79  sprite_ship.cc \
80  sprite_wall.cc \
81  supervisor.cc \
82  supervisor_bricks_level.cc \
83  supervisor_main_menu.cc \
84  supervisor_map_editor.cc \
85  supervisor_guards_level.cc \
86  supervisor_shop.cc \
87  surface_sdl.cc \
88  tecnoballz.cc \
89  tiles_background.cc \
90  tilesmap_scrolling.cc
91  $(NULL)
92
93