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

Last change on this file since 298 was 292, checked in by Sam Hocevar, 17 years ago
  • Makefile.am: + Added a test directory for test programs.
  • test/dithering.c: + The value/saturation dithering example.
File size: 1.0 KB
Line 
1###############################################################################
2# Automake targets and declarations for libcaca example programs
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_SOURCES = cacaview.c
24cacaview_LDADD = ../src/libcaca.a @CACA_LIBS@
25cacaview_CPPFLAGS = -I$(top_srcdir)/src -DX_DISPLAY_MISSING=1
26if USE_IMLIB2
27cacaview_CFLAGS = `imlib2-config --cflags`
28cacaview_LDFLAGS = `imlib2-config --libs`
29else
30cacaview_CFLAGS =
31cacaview_LDFLAGS =
32endif
33
Note: See TracBrowser for help on using the repository browser.