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.
 
 
 
 
 
 

26 lines
690 B

  1. ###############################################################################
  2. # Automake targets and declarations for libcaca tests
  3. ###############################################################################
  4. AM_CPPFLAGS = -I$(top_srcdir)/src
  5. EXTRA_DIST = caca.txt
  6. if USE_SLANG
  7. LDFLAGS_slang = -lslang
  8. endif
  9. if USE_NCURSES
  10. LDFLAGS_ncurses = -lncurses
  11. endif
  12. noinst_PROGRAMS = demo spritedit
  13. demo_SOURCES = demo.c
  14. demo_LDADD = ../src/libcaca.a $(LDFLAGS_slang) $(LDFLAGS_ncurses) -lm
  15. demo_CFLAGS = `pkg-config --cflags gtk+-2.0`
  16. demo_LDFLAGS = `pkg-config --libs gtk+-2.0`
  17. spritedit_SOURCES = spritedit.c
  18. spritedit_LDADD = ../src/libcaca.a $(LDFLAGS_slang) $(LDFLAGS_ncurses) -lm