From 31e54f5d6dfdeab330c8d299a5fd5ef2158368bf Mon Sep 17 00:00:00 2001 From: "K. Richard Pixley" Date: Thu, 14 Nov 1991 07:42:02 +0000 Subject: [PATCH] allow for yacc, whether or not it really works --- ld/Makefile.in | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/ld/Makefile.in b/ld/Makefile.in index 66a2cdb45f9..0e052b6d928 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -169,10 +169,9 @@ STAGESTUFF = *.x *.x[ru] *.sc[ru] $(GENERATED_SOURCES) $(GENERATED_HEADERS) $(OF all: Makefile $(LD_PROG) ld.info ldgram.h ldgram.c: ldgram.y - $(BISON) $(BISONFLAGS) -d $(VPATH)/ldgram.y -o ldgram.c -# These are in case BISON is really yacc (which ignores -o). - if [ -f y.tab.c -a ! -f ldgram.c ]; then mv y.tab.c ldgram.c; else true ; fi - if [ -f y.tab.h -a ! -f ldgram.h ]; then mv y.tab.h ldgram.h; else true ; fi + $(BISON) $(BISONFLAGS) -d $(VPATH)/ldgram.y + mv -f y.tab.c ldgram.c + mv -f y.tab.h ldgram.h ldlex.c: ldlex.l lex -t $(VPATH)/ldlex.l >ldlex.c -- 2.30.2