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

Last change on this file since 78 was 78, checked in by Sam Hocevar, 19 years ago
  • libee is now (almost) standalone.
File size: 1006 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        box.c \
25        ceo.c \
26        collide.c \
27        common.h \
28        explosions.c \
29        main.c \
30        math.c \
31        overlay.c \
32        player.c \
33        starfield.c \
34        tunnel.c \
35        weapons.c \
36        $(NULL)
37
38ttyvaders_CPPFLAGS = $(CPPFLAGS_slang) $(CPPFLAGS_ncurses)
39ttyvaders_LDADD = ../libee/libee.a $(LDFLAGS_slang) $(LDFLAGS_ncurses)
40
Note: See TracBrowser for help on using the repository browser.