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

Last change on this file since 244 was 244, checked in by Sam Hocevar, 17 years ago
  • configure.ac: + Removed unused USE_* variables. + Export -lslang and -lncurses as @CACA_LIBS@.
  • examples/aafire.c: + Imported aafire.c from the AAlib tree and ported it to libcaca.
File size: 992 bytes
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
23if USE_IMLIB2
24cacaview = cacaview
25cacaview_SOURCES = view.c
26cacaview_LDADD = ../src/libcaca.a @CACA_LIBS@
27cacaview_CPPFLAGS = -I$(top_srcdir)/src -DX_DISPLAY_MISSING=1
28cacaview_CFLAGS = `imlib2-config --cflags`
29cacaview_LDFLAGS = `imlib2-config --libs`
30endif
31
Note: See TracBrowser for help on using the repository browser.