aboutsummaryrefslogtreecommitdiff
path: root/sim/h8300/Makefile.in
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1993-01-04 01:55:53 +0000
committerSteve Chamberlain <sac@cygnus>1993-01-04 01:55:53 +0000
commitf53974be00779107c0ce31d54cd8dfae244ea4a6 (patch)
treebf9828070e40aa138f1853996b19bd098a5ff059 /sim/h8300/Makefile.in
parent5dca5185af1976817a3354af3aedf403dbf3fadb (diff)
downloadgdb-f53974be00779107c0ce31d54cd8dfae244ea4a6.zip
gdb-f53974be00779107c0ce31d54cd8dfae244ea4a6.tar.gz
gdb-f53974be00779107c0ce31d54cd8dfae244ea4a6.tar.bz2
Allow srcdir builds
Diffstat (limited to 'sim/h8300/Makefile.in')
-rw-r--r--sim/h8300/Makefile.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/sim/h8300/Makefile.in b/sim/h8300/Makefile.in
index b84792d..a593351 100644
--- a/sim/h8300/Makefile.in
+++ b/sim/h8300/Makefile.in
@@ -61,10 +61,10 @@ 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 p1.c p2.c p3.c | cb >code.c
+ cat $(VPATH)/p1.c p2.c $(VPATH)/p3.c | cb >code.c
indent code.c
p2.c:writecode
@@ -74,7 +74,7 @@ p2.c:writecode
writecode:writecode.o
writecode.o:writecode.c
- $(CC) -g $(CSEARCH) -c writecode.c
+ cc -g $(CSEARCH) -c $(VPATH)/writecode.c