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

Last change on this file since 217 was 217, checked in by Sam Hocevar, 18 years ago
  • configure.ac examples/Makefile.am: + Added a check for imlib2-config. + Build cacaview conditionally.
  • examples/demo.c: + Removed all gdkpixbuf code.
  • examples/view.c: + Default to ordered dithering. + Make sure the arrows always work even if delta is too small.
File size: 1006 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
26if IMLIB2_CONFIG
27cacaview = cacaview
28cacaview_SOURCES = view.c
29cacaview_LDADD = ../src/libcaca.a $(LDFLAGS_slang) $(LDFLAGS_ncurses)
30cacaview_CPPFLAGS = -I$(top_srcdir)/src
31cacaview_CFLAGS = `imlib2-config --cflags`
32cacaview_LDFLAGS = `imlib2-config --libs`
33endif
34
Note: See TracBrowser for help on using the repository browser.