source: libcaca/trunk/src/Makefile.am @ 51

Last change on this file since 51 was 51, checked in by Sam Hocevar, 20 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
RevLine 
[17]1###############################################################################
2# Automake targets and declarations for ttyvaders
3###############################################################################
4
[39]5AM_CFLAGS = -g -O2 -fno-strength-reduce -fomit-frame-pointer
[17]6
7# Code qui fait des warnings == code de porc == deux baffes dans ta gueule
[19]8AM_CFLAGS += -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs
[17]9
[51]10if USE_SLANG
11CPPFLAGS_slang = -DUSE_SLANG
12LDFLAGS_slang = -lslang
13endif
[17]14if USE_NCURSES
[51]15CPPFLAGS_ncurses = -DUSE_NCURSES
16LDFLAGS_ncurses = -lncurses
[17]17endif
18
19bin_PROGRAMS = ttyvaders
20
21ttyvaders_SOURCES = \
22        aliens.c \
[19]23        bonus.c \
[33]24        ceo.c \
[17]25        common.h \
26        explosions.c \
27        main.c \
[43]28        math.c \
[17]29        starfield.c \
30        weapons.c \
31        collide.c \
32        graphics.c \
33        player.c \
34        tunnel.c \
35        $(NULL)
36
[51]37ttyvaders_CPPFLAGS = $(CPPFLAGS_slang) $(CPPFLAGS_ncurses)
38ttyvaders_LDADD = $(LDFLAGS_slang) $(LDFLAGS_ncurses)
[17]39
Note: See TracBrowser for help on using the repository browser.