Remove YACC assignment.

Add '-b y' options to YACC invocation.
Remove leading '-' from 'include .depend'.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@186 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Theodore A. Roth 2003-02-12 17:24:43 +00:00
parent 474f222a27
commit 26b789202e
1 changed files with 2 additions and 3 deletions

View File

@ -32,7 +32,6 @@ CONFIGDIR = ${PREFIX}/etc
DIRS = ${BINDIR} ${MANDIR} ${DOCDIR} ${CONFIGDIR}
YACC = byacc
INSTALL = /usr/bin/install -c -o root -g wheel
CFLAGS += -Wall -DCONFIG_DIR=\"${CONFIGDIR}\" ${YYDEF}
@ -101,7 +100,7 @@ ${CONFIGDIR}/avrdude.conf : avrdude.conf.sample
.SUFFIXES: .c .y .l
.y.c:
${YACC} ${YFLAGS} $<
${YACC} ${YFLAGS} -b y $<
mv -f y.tab.c $@
.l.c:
@ -112,5 +111,5 @@ depend :
@${MAKE} config_gram.c lexer.c
@${CC} ${CFLAGS} -MM ${SRCS} > .depend
-include .depend
include .depend