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

Last change on this file since 76 was 76, checked in by Sam Hocevar, 17 years ago
  • libee/ee.c: + First file in libee, from src/graphics.c. + Disable cursor upon initialisation. + Added delay code for constant framerate.
  • src/common.h: + Minor compilation fix for latest ncurses.
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        ../libee/ee.c \
30        main.c \
31        math.c \
32        overlay.c \
33        player.c \
34        starfield.c \
35        tunnel.c \
36        weapons.c \
37        $(NULL)
38
39ttyvaders_CPPFLAGS = $(CPPFLAGS_slang) $(CPPFLAGS_ncurses)
40ttyvaders_LDADD = $(LDFLAGS_slang) $(LDFLAGS_ncurses)
41
Note: See TracBrowser for help on using the repository browser.