darling-gdb/sim/sh/Makefile.in
Stu Grossman 295dbbe44c * configure configure.in Makefile.in: Update to new configure
scheme which is more compatible with WinGDB builds.
	* configure.in:  Improve comment on how to run autoconf.
	* configure:  Re-run autoconf to get new ../common/aclocal.m4.
	* Makefile.in:  Use autoconf substitution to install common
	makefile fragment.
1997-01-23 22:09:52 +00:00

36 lines
1.1 KiB
Makefile

# Makefile template for Configure for the SH sim library.
# Copyright (C) 1990, 1991, 1992, 1995, 1996 Free Software Foundation, Inc.
# Written by Cygnus Support.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
SIM_OBJS = interp.o table.o
SIM_EXTRA_LIBS = -lm
@COMMON_MAKEFILE_FRAG@
interp.o: interp.c code.c table.c
code.c: gencode
./gencode -x >code.c
# indent code.c
table.c: gencode
./gencode -s >table.c
# indent table.c
gencode: gencode.c
$(CC_FOR_BUILD) -o gencode $(srcdir)/gencode.c