mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-20 11:32:33 +00:00
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:
parent
de3bb5796c
commit
b6d59a29ea
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user