than building source files from there.
+2001-01-31 Jonathan Larmour <jlarmour@redhat.com>
+
+ * Makefile.in (gencode): Link with libopcodes in build tree rather
+ than building source files from there.
+
2000-05-30 Nick Clifton <nickc@cygnus.com>
* v850.igen: Remove illegal instruction pattern, since it is the
touch tmp-gencode
gencode.o: gencode.c
$(CC_FOR_BUILD) $(BUILD_CFLAGS) -c $(srcdir)/gencode.c
-v850-opc.o: $(srcdir)/../../opcodes/v850-opc.c
- $(CC_FOR_BUILD) $(BUILD_CFLAGS) -c $<
-gencode: gencode.o v850-opc.o
- $(CC_FOR_BUILD) $(BUILD_CFLAGS) -o gencode gencode.o v850-opc.o
+gencode: gencode.o ../../opcodes/libopcodes.a
+ $(CC_FOR_BUILD) $(BUILD_CFLAGS) -o gencode gencode.o ../../opcodes/libopcodes.a