rearranged deps
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@123 59561ff5-6e30-0410-9f3c-9617f08c8826
diff --git a/libasn1compiler/Makefile.am b/libasn1compiler/Makefile.am
index 301bbaa..ef96aef 100644
--- a/libasn1compiler/Makefile.am
+++ b/libasn1compiler/Makefile.am
@@ -16,14 +16,10 @@
asn1c_compat.c asn1c_compat.h \
asn1c_internal.h
-libasn1compiler_la_LIBADD = \
- ${top_builddir}/libasn1parser/libasn1parser.la \
- ${top_builddir}/libasn1fix/libasn1fix.la
+TESTS = $(check_PROGRAMS)
check_PROGRAMS = check_compiler
-TESTS = ${check_PROGRAMS}
-
-LDADD = ${noinst_LTLIBRARIES} ${libasn1compiler_la_LIBADD}
-DEPENDENCIES = ${LDADD}
-
+check_compiler_LDADD = $(noinst_LTLIBRARIES) \
+ $(top_builddir)/libasn1parser/libasn1parser.la \
+ $(top_builddir)/libasn1fix/libasn1fix.la