aboutsummaryrefslogtreecommitdiff
path: root/sim/m68hc11/Makefile.in
diff options
context:
space:
mode:
authorStephane Carrez <stcarrez@nerim.fr>2001-05-20 15:40:27 +0000
committerStephane Carrez <stcarrez@nerim.fr>2001-05-20 15:40:27 +0000
commit81e09ed8322b2fef745b27b6df970c7ca7e10865 (patch)
treecfe804fda762723702852a9952cc9409eda6e377 /sim/m68hc11/Makefile.in
parent11115521f652c7a4c85fc326efc1ad6fae913e59 (diff)
downloadfsf-binutils-gdb-81e09ed8322b2fef745b27b6df970c7ca7e10865.zip
fsf-binutils-gdb-81e09ed8322b2fef745b27b6df970c7ca7e10865.tar.gz
fsf-binutils-gdb-81e09ed8322b2fef745b27b6df970c7ca7e10865.tar.bz2
Improve HC11 simulator to support HC12
Diffstat (limited to 'sim/m68hc11/Makefile.in')
-rw-r--r--sim/m68hc11/Makefile.in12
1 files changed, 8 insertions, 4 deletions
diff --git a/sim/m68hc11/Makefile.in b/sim/m68hc11/Makefile.in
index 6cbf400..d2fe599 100644
--- a/sim/m68hc11/Makefile.in
+++ b/sim/m68hc11/Makefile.in
@@ -1,5 +1,5 @@
# Makefile template for Configure for the 68HC11 sim library.
-# Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+# Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
# Written by Cygnus Support.
#
# This program is free software; you can redistribute it and/or modify
@@ -18,7 +18,8 @@
## COMMON_PRE_CONFIG_FRAG
-M68HC11_OBJS = interp.o m68hc11int.o emulos.o interrupts.o m68hc11_sim.o
+M68HC11_OBJS = interp.o m68hc11int.o m68hc12int.o \
+ emulos.o interrupts.o m68hc11_sim.o
# List of main object files for `run'.
SIM_RUN_OBJS = nrun.o
@@ -49,10 +50,13 @@ INCLUDE = $(srcdir)/../../include/callback.h \
## COMMON_POST_CONFIG_FRAG
m68hc11int.c: gencode
- ./gencode > $@
+ ./gencode -m6811 > $@
+
+m68hc12int.c: gencode
+ ./gencode -m6812 > $@
gencode: gencode.c
- $(CC_FOR_BUILD) $(BUILD_CFLAGS) -o gencode $<
+ $(CC_FOR_BUILD) $(BUILD_CFLAGS) -o gencode gencode.c
interp.o: interp.c $(INCLUDE)