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

Last change on this file since 209 was 209, checked in by Sam Hocevar, 18 years ago
  • examples/Makefile.am: + Compilation fix when libcaca is not available.
File size: 834 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 = caca-demo caca-spritedit
17
18caca_demo_SOURCES = demo.c
19caca_demo_LDADD = ../src/libcaca.a $(LDFLAGS_slang) $(LDFLAGS_ncurses) -lm
20caca_demo_CPPFLAGS = -I$(top_srcdir)/src -DDATADIR=\"$(pkgdatadir)\"
21#caca_demo_CFLAGS = `pkg-config --cflags gtk+-2.0`
22#caca_demo_LDFLAGS = `pkg-config --libs gtk+-2.0`
23
24caca_spritedit_SOURCES = spritedit.c
25caca_spritedit_LDADD = ../src/libcaca.a $(LDFLAGS_slang) $(LDFLAGS_ncurses) -lm
26caca_spritedit_CPPFLAGS = -I$(top_srcdir)/src
27
Note: See TracBrowser for help on using the repository browser.