mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-09-27 22:45:27 +00:00
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/avrdude@8 81a1dc3b-b13d-400b-aceb-764788c761c2
24 lines
282 B
Makefile
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} $@
|
|
|