mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-09-28 06:55:27 +00:00
Makefile: add --pedantic compiler option
avrprog.c: Add lots of comments, move getop() variable declarations to the top of the program. Add a typedef name to the AVR memory type and use it for function declarations. Add a usleep() delay in the sense loop to avoid becoming a cpu hog. Print out a version string so that folks know what version of the software they are running. Be sure and close the parallel device and the i/o file when terminating abnormally. git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@8 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
@@ -8,7 +8,7 @@ DEST = ${HOME}/bin/0.${ARCH}
|
||||
|
||||
all : ${TARGET}
|
||||
|
||||
CFLAGS = -Wall
|
||||
CFLAGS = -Wall --pedantic
|
||||
|
||||
${TARGET} : avrprog.c
|
||||
${CC} ${CFLAGS} -o ${TARGET} avrprog.c
|
||||
|
Reference in New Issue
Block a user