diff options
author | Steve Chamberlain <sac@cygnus> | 1994-04-27 18:27:18 +0000 |
---|---|---|
committer | Steve Chamberlain <sac@cygnus> | 1994-04-27 18:27:18 +0000 |
commit | 7bf6856e9c9fcb0cf9522e4104363acaef773202 (patch) | |
tree | 8dc6f3183a01df1930874680e0679d350cdb5981 /binutils/Makefile.in | |
parent | 6d65841ba19837b4416a8258bb30751c961700bc (diff) | |
download | gdb-7bf6856e9c9fcb0cf9522e4104363acaef773202.zip gdb-7bf6856e9c9fcb0cf9522e4104363acaef773202.tar.gz gdb-7bf6856e9c9fcb0cf9522e4104363acaef773202.tar.bz2 |
* Makefile.in (syslex, sysinfo): Use CC_FOR_BUILD.
* coffdump.c, coffgroc.c, coffgrog.h, srconv.c, sysdump.c,
sysroff.info: Major changes.
Diffstat (limited to 'binutils/Makefile.in')
-rw-r--r-- | binutils/Makefile.in | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/binutils/Makefile.in b/binutils/Makefile.in index cde55b3..e80f4b5 100644 --- a/binutils/Makefile.in +++ b/binutils/Makefile.in @@ -59,7 +59,7 @@ RANLIB = ranlib BISONFLAGS = -d TEXI2ROFF=texi2roff MAKEOVERRIDES= - +CC_FOR_BUILD = $(CC) NM_FOR_TARGET = nm NM = $(NM_FOR_TARGET) SYMLINK = ln -s @@ -278,7 +278,13 @@ syslex.c : syslex.l mv lex.yy.c syslex.c sysinfo: sysinfo.o syslex.o $(ADDL_LIBS) - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ sysinfo.o syslex.o $(ADDL_LIBS) $(EXTRALIBS) + $(CC_FOR_BUILD) $(CFLAGS) $(LDFLAGS) -o $@ sysinfo.o syslex.o + +syslex.o: syslex.c + $(CC_FOR_BUILD) -c -I. $(CFLAGS) syslex.c + +sysinfo.o: sysinfo.c + $(CC_FOR_BUILD) -c -I. $(CFLAGS) sysinfo.c srconv: sysroff.c srconv.o sysroff.c coffgrok.o $(ADDL_LIBS) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ srconv.o coffgrok.o $(ADDL_LIBS) $(EXTRALIBS) @@ -467,6 +473,7 @@ distclean: else true; fi -rm -f Makefile config.status sysdep.h *.o *~ \#* core \ binutils.?? binutils.??s binutils.aux binutils.log binutils.toc + -rm -f $(PROGS) underscore.c realclean: clean distclean -rm -f $(DISTSTUFF) TAGS |