source: ttyvaders/trunk/src/Makefile.am @ 52

Last change on this file since 52 was 52, checked in by Sam Hocevar, 18 years ago
  • added support for --disable-slang.
  • fixed an overflow in the tunnel update code.
  • fragbomb is now 'f', not 'd'.
  • added a missing call to init_bonus().
File size: 981 bytes
Line 
1###############################################################################
2# Automake targets and declarations for ttyvaders
3###############################################################################
4
5AM_CFLAGS = -g -O2 -fno-strength-reduce -fomit-frame-pointer
6
7# Code qui fait des warnings == code de porc == deux baffes dans ta gueule
8AM_CFLAGS += -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs
9
10if USE_SLANG
11CPPFLAGS_slang = -DUSE_SLANG
12LDFLAGS_slang = -lslang
13endif
14if USE_NCURSES
15CPPFLAGS_ncurses = -DUSE_NCURSES
16LDFLAGS_ncurses = -lncurses
17endif
18
19bin_PROGRAMS = ttyvaders
20
21ttyvaders_SOURCES = \
22        aliens.c \
23        bonus.c \
24        ceo.c \
25        common.h \
26        explosions.c \
27        main.c \
28        math.c \
29        starfield.c \
30        weapons.c \
31        collide.c \
32        graphics.c \
33        player.c \
34        tunnel.c \
35        $(NULL)
36
37ttyvaders_CPPFLAGS = $(CPPFLAGS_slang) $(CPPFLAGS_ncurses)
38ttyvaders_LDADD = $(LDFLAGS_slang) $(LDFLAGS_ncurses)
39
Note: See TracBrowser for help on using the repository browser.