chiark / gitweb /
Make sure that the bits testcase gets its test vector from the source
[mLib] / Makefile.am
index fdd39550365c4123fba3c52d94d0391c2019ca8b..4a2a0185434043ca553736b6196b6aaf31335f65 100644 (file)
@@ -1,6 +1,6 @@
 ## -*-Makefile-*-
 ##
-## $Id: Makefile.am,v 1.25 2000/10/08 11:20:57 mdw Exp $
+## $Id: Makefile.am,v 1.26 2000/10/14 16:46:44 mdw Exp $
 ##
 ## Building the distribution
 ##
 ##----- Revision history ----------------------------------------------------
 ##
 ## $Log: Makefile.am,v $
+## Revision 1.26  2000/10/14 16:46:44  mdw
+## Make sure that the bits testcase gets its test vector from the source
+## directory.
+##
 ## Revision 1.25  2000/10/08 11:20:57  mdw
 ## Clean some more files.
 ##
@@ -161,6 +165,8 @@ sym-test.test: sym-test sym-test.in sym-test.ref
 bits_t_SOURCES = bits.c
 bits_t_LDADD = libmLib.la
 bits_t_LDFLAGS = -static
+bits.o: bits.c
+       $(COMPILE) -c -DSRCDIR=\"$(srcdir)\" $(srcdir)/bits.c -o bits.o
 bits-test: bits.t
        ./bits.t -f $(srcdir)/bits.test