* Makefile.in (gencode): Depend upon gencode.o, getopt.o, and
authorIan Lance Taylor <ian@airs.com>
Thu, 22 Aug 1996 22:06:21 +0000 (22:06 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 22 Aug 1996 22:06:21 +0000 (22:06 +0000)
commit64d538ce806461aed599498bab023b4ae15a2ae2
tree13836ca2daac8324168a1fdce3f3cb99ca8b5ce3
parenteeef602f20d4671c2676d7051bf903e8e6364db9
* Makefile.in (gencode): Depend upon gencode.o, getopt.o, and
getopt1.o, rather than on gencode.c.  Link objects together.
Don't link against -liberty.
(gencode.o, getopt.o, getopt1.o): New targets.
* gencode.c: Include <ctype.h> and "ansidecl.h".
(AND): Undefine after including "ansidecl.h".
(ULONG_MAX): Define if not defined.
(OP_*): Don't define macros; now defined in opcode/mips.h.
(main): Call my_strtoul rather than strtoul.
(my_strtoul): New static function.
sim/mips/gencode.c