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

Last change on this file since 18 was 18, checked in by Sam Hocevar, 18 years ago
  • autotoolificationized the whole thing.
File size: 886 bytes
Line 
1###############################################################################
2# Automake targets and declarations for ttyvaders
3###############################################################################
4
5AM_CPPFLAGS = -g -O6 -fno-strength-reduce -fomit-frame-pointer
6
7# Code qui fait des warnings == code de porc == deux baffes dans ta gueule
8AM_CPPFLAGS += -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs
9
10if USE_NCURSES
11CPPFLAGS_gfx = -DUSE_NCURSES
12LDFLAGS_gfx = -lncurses
13else
14CPPFLAGS_gfx = -DUSE_SLANG
15LDFLAGS_gfx = -lslang
16endif
17
18bin_PROGRAMS = ttyvaders
19
20ttyvaders_SOURCES = \
21        aliens.c \
22        common.h \
23        explosions.c \
24        main.c \
25        starfield.c \
26        weapons.c \
27        collide.c \
28        graphics.c \
29        player.c \
30        tunnel.c \
31        $(NULL)
32
33ttyvaders_CPPFLAGS = $(CPPFLAGS_gfx)
34ttyvaders_LDADD = $(LDFLAGS_gfx)
35
Note: See TracBrowser for help on using the repository browser.