* Makefile.in (clean): Remove config.log.
authorJason Molenda <crash@cygnus>
Wed, 2 Oct 1996 07:57:18 +0000 (07:57 +0000)
committerJason Molenda <crash@cygnus>
Wed, 2 Oct 1996 07:57:18 +0000 (07:57 +0000)
sim/erc32/ChangeLog
sim/erc32/Makefile.in

index edbf929..0daf110 100644 (file)
@@ -1,3 +1,16 @@
+Wed Oct  2 16:57:57 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
+
+       * Makefile.in (clean): Remove config.log.
+
+Sat Sep 14 00:00:46 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.in (CC_FOR_BUILD): New variable.
+       (AR, AR_FLAGS, BISON, MAKEINFO): Remove duplicate variables.
+       (RANLIB, CC): Likewise.
+       (end): Use $(CC_FOR_BUILD), not $(CC).
+       * configure.in: Set CC_FOR_BUILD.
+       * configure: Rebuild.
+
 Sun Sep  8 14:04:37 1996  Stu Grossman  (grossman@critters.cygnus.com)
 
        * erc32.c (port_init):  Disable this for __GO32__ (got no pty's
index aea2afe..9cd5588 100644 (file)
@@ -58,6 +58,7 @@ CC = @CC@
 CFLAGS = @CFLAGS@
 MAKEINFO = makeinfo
 RANLIB = @RANLIB@
+CC_FOR_BUILD = @CC_FOR_BUILD@
 
 #
 # UARTS run at about 115200 baud (simulator time). Add -DFAST_UART to
@@ -65,13 +66,7 @@ RANLIB = @RANLIB@
 # behaviour of UART interrupt routines ...
 #
 
-AR = ar
-AR_FLAGS = rc
 CFLAGS2 = -g -O3 -DSTAT -DFAST_UART -DIUREV0 -DMECREV0
-BISON = bison
-MAKEINFO = makeinfo
-RANLIB = ranlib
-CC = gcc
 
 INCDIR = $(srcdir)/../../include
 CSEARCH = -I. -I$(srcdir) -I$(INCDIR) -I../../bfd -I$(srcdir)/../../bfd \
@@ -88,7 +83,7 @@ OFILES =  exec.o erc32.o func.o help.o float.o
 all: end.h sis run $(TARGETLIB)
 
 end : $(srcdir)/end.c
-       $(CC) $(srcdir)/end.c -o end
+       $(CC_FOR_BUILD) $(srcdir)/end.c -o end
 
 end.h : end
        ./end > end.h
@@ -106,7 +101,7 @@ run: run.o interf.o $(OFILES)
        -ltermcap -lm
 
 clean:
-       rm -f *.o libsim.a sis run end end.h
+       rm -f *.o libsim.a sis run end end.h config.log
 
 distclean: clean
        rm -rf Makefile config.status sysdep.h