aboutsummaryrefslogtreecommitdiff
path: root/sim/h8300/Makefile.in
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1993-01-04 15:45:35 +0000
committerSteve Chamberlain <sac@cygnus>1993-01-04 15:45:35 +0000
commit4d53c4e361ea246dda8ecf8926b319dc482799f3 (patch)
tree3b43e38ecbaf7e3f531c1ffb2879e69b55e62738 /sim/h8300/Makefile.in
parent5fe932391d34c4369afa1ff42a386a708149be74 (diff)
downloadgdb-4d53c4e361ea246dda8ecf8926b319dc482799f3.zip
gdb-4d53c4e361ea246dda8ecf8926b319dc482799f3.tar.gz
gdb-4d53c4e361ea246dda8ecf8926b319dc482799f3.tar.bz2
Now works in a cross build environment
Diffstat (limited to 'sim/h8300/Makefile.in')
-rw-r--r--sim/h8300/Makefile.in8
1 files changed, 3 insertions, 5 deletions
diff --git a/sim/h8300/Makefile.in b/sim/h8300/Makefile.in
index a593351..1a87e92 100644
--- a/sim/h8300/Makefile.in
+++ b/sim/h8300/Makefile.in
@@ -61,7 +61,7 @@ DEP = mkdep
TARGETLIB = libsim.a
run: code.o run.o
- cc -o run code.o run.o ../bfd/libbfd.a ../libiberty/libiberty.a
+ $(CC) -o run code.o run.o ../bfd/libbfd.a ../libiberty/libiberty.a
code.c:p1.c p2.c p3.c
cat $(VPATH)/p1.c p2.c $(VPATH)/p3.c | cb >code.c
@@ -71,10 +71,8 @@ p2.c:writecode
./writecode >p2.c
-writecode:writecode.o
-
-writecode.o:writecode.c
- cc -g $(CSEARCH) -c $(VPATH)/writecode.c
+writecode:writecode.c
+ $(CC_FOR_BUILD) -o writecode -g $(CSEARCH) -c $(srcdir)/writecode.c