Files
avrdude/avrdude/Makefile
Brian S. Dean dedd92130c 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
2000-08-06 19:47:03 +00:00

24 lines
282 B
Makefile

#
# $Id$
#
TARGET = avrprog
DEST = ${HOME}/bin/0.${ARCH}
all : ${TARGET}
CFLAGS = -Wall --pedantic
${TARGET} : avrprog.c
${CC} ${CFLAGS} -o ${TARGET} avrprog.c
clean :
rm -f *.o ${TARGET} *~
install : ${DEST}/${TARGET}
${DEST}/${TARGET} : ${TARGET}
cp -p ${TARGET} $@