source: libcaca/branches/0.5/examples/Makefile.am @ 4104

Last change on this file since 4104 was 254, checked in by Sam Hocevar, 16 years ago
  • examples/view.c: + If Imlib2 is not available, use a custom simple BMP loader. + Draw the bottom bar one line higher to leave room for a status line. + '?' now properly toggles help.
  • examples/Makefile.am: + Always build cacaview.
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
9bin_PROGRAMS = cacademo cacafire caca-spritedit $(cacaview)
10
11cacademo_SOURCES = demo.c
12cacademo_LDADD = ../src/libcaca.a @CACA_LIBS@ -lm
13cacademo_CPPFLAGS = -I$(top_srcdir)/src -DDATADIR=\"$(pkgdatadir)\"
14
15cacafire_SOURCES = aafire.c
16cacafire_LDADD = ../src/libcaca.a @CACA_LIBS@
17cacafire_CPPFLAGS = -I$(top_srcdir)/src -DLIBCACA=1
18
19caca_spritedit_SOURCES = spritedit.c
20caca_spritedit_LDADD = ../src/libcaca.a @CACA_LIBS@
21caca_spritedit_CPPFLAGS = -I$(top_srcdir)/src
22
23cacaview = cacaview
24cacaview_SOURCES = view.c
25cacaview_LDADD = ../src/libcaca.a @CACA_LIBS@
26cacaview_CPPFLAGS = -I$(top_srcdir)/src -DX_DISPLAY_MISSING=1
27if USE_IMLIB2
28cacaview_CFLAGS = `imlib2-config --cflags`
29cacaview_LDFLAGS = `imlib2-config --libs`
30else
31cacaview_CFLAGS =
32cacaview_LDFLAGS =
33endif
34
Note: See TracBrowser for help on using the repository browser.