Now works in a cross build environment
This commit is contained in:
parent
5fe932391d
commit
4d53c4e361
1 changed files with 3 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue