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

Last change on this file since 190 was 190, checked in by Sam Hocevar, 17 years ago
  • 2nd pass in the libcaca rehandling; moved sources to src/ and examples to examples/.
File size: 664 bytes
Line 
1###############################################################################
2# Automake targets and declarations for libcaca tests
3###############################################################################
4
5AM_CPPFLAGS = -I$(top_srcdir)/src
6
7if USE_SLANG
8LDFLAGS_slang = -lslang
9endif
10if USE_NCURSES
11LDFLAGS_ncurses = -lncurses
12endif
13
14bin_PROGRAMS = demo spritedit
15
16demo_SOURCES = demo.c
17demo_LDADD = ../src/libcaca.a $(LDFLAGS_slang) $(LDFLAGS_ncurses) -lm
18demo_CFLAGS = `pkg-config --cflags gtk+-2.0`
19demo_LDFLAGS = `pkg-config --libs gtk+-2.0`
20
21spritedit_SOURCES = spritedit.c
22spritedit_LDADD = ../src/libcaca.a $(LDFLAGS_slang) $(LDFLAGS_ncurses) -lm
23
Note: See TracBrowser for help on using the repository browser.