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:
parent
474f222a27
commit
26b789202e
5
Makefile
5
Makefile
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue