You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

29 lines
801 B

  1. ###############################################################################
  2. # Automake targets and declarations for libcaca tests
  3. ###############################################################################
  4. AM_CPPFLAGS = -I$(top_srcdir)/src
  5. pkgdata_DATA = caca.txt
  6. EXTRA_DIST = caca.txt
  7. if USE_SLANG
  8. LDFLAGS_slang = -lslang
  9. endif
  10. if USE_NCURSES
  11. LDFLAGS_ncurses = -lncurses
  12. endif
  13. bin_PROGRAMS = caca-demo caca-spritedit
  14. caca_demo_SOURCES = demo.c
  15. caca_demo_LDADD = ../src/libcaca.a $(LDFLAGS_slang) $(LDFLAGS_ncurses) -lm
  16. caca_demo_CPPFLAGS = -DDATADIR=\"$(pkgdatadir)\"
  17. caca_demo_CFLAGS = `pkg-config --cflags gtk+-2.0`
  18. caca_demo_LDFLAGS = `pkg-config --libs gtk+-2.0`
  19. caca_spritedit_SOURCES = spritedit.c
  20. caca_spritedit_LDADD = ../src/libcaca.a $(LDFLAGS_slang) $(LDFLAGS_ncurses) -lm