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

Last change on this file since 236 was 236, checked in by Sam Hocevar, 17 years ago
  • src/caca.c: + Minor change to the dithering names.
  • TODO: + Added cacaview TODO.
  • doc/cacaview.1: + Wrote a manpage for cacaview.
  • examples/Makefile.am: + Moved the -DX_DISPLAY_MISSING=1 here.
  • examples/view.c: + Capital 'D' cycles through dithering modes in reverse order. + Sleep when there is nothing to do. + Cosmetic code reorganisation.
File size: 1.0 KB
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 USE_IMLIB2
27cacaview = cacaview
28cacaview_SOURCES = view.c
29cacaview_LDADD = ../src/libcaca.a $(LDFLAGS_slang) $(LDFLAGS_ncurses)
30cacaview_CPPFLAGS = -I$(top_srcdir)/src -DX_DISPLAY_MISSING=1
31cacaview_CFLAGS = `imlib2-config --cflags`
32cacaview_LDFLAGS = `imlib2-config --libs`
33endif
34
Note: See TracBrowser for help on using the repository browser.