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

Last change on this file since 333 was 333, checked in by Sam Hocevar, 17 years ago
  • configure.ac: + Check for -lm.
  • examples/cacaplas.c: + New demo, cacaplas, that displays a colour plasma.
File size: 1.1 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 cacaball cacaplas cacaview
10
11cacademo_SOURCES = demo.c
12cacademo_LDADD = ../src/libcaca.a @CACA_LIBS@ @MATH_LIBS@
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
19cacaball_SOURCES = cacaball.c
20cacaball_LDADD = ../src/libcaca.a @CACA_LIBS@ @MATH_LIBS@
21cacaball_CPPFLAGS = -I$(top_srcdir)/src
22
23cacaplas_SOURCES = cacaplas.c
24cacaplas_LDADD = ../src/libcaca.a @CACA_LIBS@ @MATH_LIBS@
25cacaplas_CPPFLAGS = -I$(top_srcdir)/src
26
27cacaview_SOURCES = cacaview.c
28cacaview_LDADD = ../src/libcaca.a @CACA_LIBS@
29cacaview_CPPFLAGS = -I$(top_srcdir)/src -DX_DISPLAY_MISSING=1
30if USE_IMLIB2
31cacaview_CFLAGS = `imlib2-config --cflags`
32cacaview_LDFLAGS = `imlib2-config --libs`
33else
34cacaview_CFLAGS =
35cacaview_LDFLAGS =
36endif
37
Note: See TracBrowser for help on using the repository browser.