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

Last change on this file since 224 was 224, checked in by Sam Hocevar, 17 years ago
  • configure.ac: + More sensible imlib2 detection, works with cross-compilation.
  • Makefile.am: + Don't forget to include NOTES to the dist tarball.
File size: 1003 bytes
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
31cacaview_CFLAGS = `imlib2-config --cflags`
32cacaview_LDFLAGS = `imlib2-config --libs`
33endif
34
Note: See TracBrowser for help on using the repository browser.