* 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 fcc16b09de83537385f0cb20b48f0193e52efcc1..012325298f3fd38882235fde511e89324d88a698 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 7f65230c398e93708a1d6ea22e9caf52f0e60ca7..7910aab111014c1b56eed9cd09b2b88c7fa414db 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