2003-02-12 Theodore A. Roth * Makefile: Compile everything except config_gram.c with -Werror. Index: Makefile =================================================================== RCS file: /cvsroot/avrdude/avrdude/Makefile,v retrieving revision 1.35 diff -u -r1.35 Makefile --- Makefile 12 Feb 2003 17:24:43 -0000 1.35 +++ Makefile 12 Feb 2003 18:59:53 -0000 @@ -34,8 +34,8 @@ INSTALL = /usr/bin/install -c -o root -g wheel -CFLAGS += -Wall -DCONFIG_DIR=\"${CONFIGDIR}\" ${YYDEF} -#CFLAGS = -g -Wall -DCONFIG_DIR=\"${CONFIGDIR}\" ${YYDEF} +BASE_CFLAGS = -g -Wall -DCONFIG_DIR=\"${CONFIGDIR}\" ${YYDEF} +CFLAGS += ${BASE_CFLAGS} -Werror LDFLAGS = YFLAGS = -t -d -v @@ -58,6 +58,9 @@ ${TARGET} : ${OBJS} ${CC} ${LDFLAGS} -o ${TARGET} ${OBJS} ${LIBS} + +config_gram.o: config_gram.c + ${CC} ${BASE_CFLAGS} ${YYDEF} -c -o $@ $< clean : rm -f *.o config_gram.c lexer.c ${TARGET} *~ *.core y.tab.h y.output