Output only the .y filename, not the full path to it for ease of reading.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9729 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Misha Brukman 2003-11-05 06:41:14 +00:00
parent de3bb5796c
commit b6d59a29ea

View File

@ -748,7 +748,7 @@ YACC_OUTPUT = $(addprefix $(YACC_FILES:%.y=%), .h .cpp .output)
%.c: %.y # Cancel built-in rules for yacc
%.h: %.y # Cancel built-in rules for yacc
%.cpp %.h : %.y
@${ECHO} Bisoning $<
@${ECHO} "Bisoning `basename $<`"
$(VERB) $(BISON) -v -d -p $(<F:%Parser.y=%) -o $*.tab.c $<
$(VERB) cmp -s $*.tab.c $*.cpp > /dev/null || ${MV} -f $*.tab.c $*.cpp
$(VERB) cmp -s $*.tab.h $*.h > /dev/null || ${MV} -f $*.tab.h $*.h