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:
troth 2003-02-12 17:24:43 +00:00
parent 546e18c753
commit d098cce80a
1 changed files with 2 additions and 3 deletions

View File

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