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

Last change on this file since 215 was 215, checked in by Sam Hocevar, 17 years ago
  • examples/: + Simple image viewer, cacaview, based on libcaca and imlib2. + Renamed caca-demo into cacademo.
  • doc/: + Renamed doc/caca-demo.1 into doc/cacademo.1.
File size: 963 bytes
Line 
1###############################################################################
2# Automake targets and declarations for libcaca tests
3###############################################################################
4
5pkgdata_DATA = caca.txt
6
7EXTRA_DIST = caca.txt
8
9if USE_SLANG
10LDFLAGS_slang = -lslang
11endif
12if USE_NCURSES
13LDFLAGS_ncurses = -lncurses
14endif
15
16bin_PROGRAMS = cacademo caca-spritedit cacaview
17
18cacademo_SOURCES = demo.c
19cacademo_LDADD = ../src/libcaca.a $(LDFLAGS_slang) $(LDFLAGS_ncurses) -lm
20cacademo_CPPFLAGS = -I$(top_srcdir)/src -DDATADIR=\"$(pkgdatadir)\"
21
22caca_spritedit_SOURCES = spritedit.c
23caca_spritedit_LDADD = ../src/libcaca.a $(LDFLAGS_slang) $(LDFLAGS_ncurses) -lm
24caca_spritedit_CPPFLAGS = -I$(top_srcdir)/src
25
26cacaview_SOURCES = view.c
27cacaview_LDADD = ../src/libcaca.a $(LDFLAGS_slang) $(LDFLAGS_ncurses) -lm
28cacaview_CPPFLAGS = -I$(top_srcdir)/src
29cacaview_CFLAGS = `imlib2-config --cflags`
30cacaview_LDFLAGS = `imlib2-config --libs`
Note: See TracBrowser for help on using the repository browser.