aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ld/ChangeLog2
-rw-r--r--ld/Makefile.in4
2 files changed, 4 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index c7b6912..4b0b7c2 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,7 @@
Tue May 5 12:12:24 1992 K. Richard Pixley (rich@cygnus.com)
+ * Makefile.in: FLEX -> LEX.
+
* ld.texinfo: {} -> @{@}.
Mon May 4 17:52:41 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
diff --git a/ld/Makefile.in b/ld/Makefile.in
index 711745b..3941679 100644
--- a/ld/Makefile.in
+++ b/ld/Makefile.in
@@ -50,13 +50,13 @@ SHELL = /bin/sh
INSTALL = install -c
INSTALL_PROGRAM = $(INSTALL)
INSTALL_DATA = $(INSTALL)
-FLEX=flex
AR = ar
AR_FLAGS = qv
CFLAGS = -g
BISON = bison -y
MAKEINFO = makeinfo
RANLIB = ranlib
+
LEX = `if [ -f ../flex/flex ] ; then echo ../flex/flex -S$(srcdir)/../flex/flex.skel ; else echo flex ; fi`
#version=/`./../gcc/gcc -dumpversion`
@@ -170,7 +170,7 @@ ldemul.o: ldemul-list.h
ldlex.c: ldlex.l
# /lib/cpp -E -P $(INCLUDES) $(HDEFINES) $(TDEFINES) $(CDEFINES) $(VPATH)/ldlex.l >ldlex.p
- $(FLEX) -I -Cem -t $(VPATH)/ldlex.l >ldlex.c
+ $(LEX) -I -Cem -t $(VPATH)/ldlex.l >ldlex.c
# cp ldlex.q ldlex.c