--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -1,6 +1,6 @@
 
-noinst_PROGRAMS = dvdcss_test
+noinst_PROGRAMS = test
 
-dvdcss_test_SOURCES = dvdcss_test.c
-dvdcss_test_LDADD = $(top_builddir)/dvdcss/libdvdcss.la -ldl
+test_SOURCES = test.c
+test_LDADD = $(top_builddir)/src/libdvdcss.la -ldl