source: libcaca/trunk/examples/Makefile.am @ 202

Last change on this file since 202 was 202, checked in by Sam Hocevar, 17 years ago
  • debian/control: + Changed section to libs/libdevel instead of games/games. + Changed package name to libcaca-dev.
  • debian/rules: + Use debian/compat instead of DH_COMPAT. + Install README, BUGS and TODO into /usr/share/doc.
  • caca-config.in: + First version of the config script.
  • configure.ac src/Makefile.am: + Build a static PIC library as well.
  • README TODO: + Various updates.
File size: 801 bytes
Line 
1###############################################################################
2# Automake targets and declarations for libcaca tests
3###############################################################################
4
5AM_CPPFLAGS = -I$(top_srcdir)/src
6
7pkgdata_DATA = caca.txt
8
9EXTRA_DIST = caca.txt
10
11if USE_SLANG
12LDFLAGS_slang = -lslang
13endif
14if USE_NCURSES
15LDFLAGS_ncurses = -lncurses
16endif
17
18bin_PROGRAMS = caca-demo caca-spritedit
19
20caca_demo_SOURCES = demo.c
21caca_demo_LDADD = ../src/libcaca.a $(LDFLAGS_slang) $(LDFLAGS_ncurses) -lm
22caca_demo_CPPFLAGS = -DDATADIR=\"$(pkgdatadir)\"
23caca_demo_CFLAGS = `pkg-config --cflags gtk+-2.0`
24caca_demo_LDFLAGS = `pkg-config --libs gtk+-2.0`
25
26caca_spritedit_SOURCES = spritedit.c
27caca_spritedit_LDADD = ../src/libcaca.a $(LDFLAGS_slang) $(LDFLAGS_ncurses) -lm
28
Note: See TracBrowser for help on using the repository browser.