* Makefile.in (gencode): Link with libopcodes in build tree rather
authorJonathan Larmour <jifl@eCosCentric.com>
Thu, 1 Feb 2001 06:56:29 +0000 (06:56 +0000)
committerJonathan Larmour <jifl@eCosCentric.com>
Thu, 1 Feb 2001 06:56:29 +0000 (06:56 +0000)
than building source files from there.

sim/v850/ChangeLog
sim/v850/Makefile.in

index fcc16b0..0123252 100644 (file)
@@ -1,3 +1,8 @@
+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
index 7f65230..7910aab 100644 (file)
@@ -56,10 +56,8 @@ tmp-gencode: gencode
        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