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

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