Index: libcaca/trunk/tests/Makefile.am
===================================================================
--- libcaca/trunk/tests/Makefile.am	(revision 2301)
+++ libcaca/trunk/tests/Makefile.am	(revision 2309)
@@ -1,8 +1,9 @@
 # $Id$
 
-AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/cucul -I../cucul
+AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/cucul -I../cucul \
+              -I$(top_srcdir)/caca
 
 if USE_CPPUNIT
-cppunit_tests = cucul-test
+cppunit_tests = cucul-test caca-test
 endif
 
@@ -15,5 +16,9 @@
 
 cucul_test_SOURCES = cucul-test.cpp canvas.cpp
-cucul_test_CPPFLAGS = $(CPPUNIT_CFLAGS)
+cucul_test_CXXFLAGS = $(CPPUNIT_CFLAGS)
 cucul_test_LDADD = ../cucul/libcucul.la $(CPPUNIT_LIBS)
 
+caca_test_SOURCES = caca-test.cpp driver.cpp
+caca_test_CXXFLAGS = $(CPPUNIT_CFLAGS)
+caca_test_LDADD = ../caca/libcaca.la $(CPPUNIT_LIBS)
+
