Files
avrdude/Makefile
bsd dd7d98ccf4 Move pin definitions to their own file.
First pass at providing feedback via the optionally connected leds.  I
don't actually have any of these attached to my programmer, so I can
only guess as whether this is toggling them on and off correctly.

Also, enable and disable the optional 74367 buffer.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@50 81a1dc3b-b13d-400b-aceb-764788c761c2
2001-01-24 19:10:34 +00:00

50 lines
972 B
Makefile

#------------------------------------------------------------------------
#
# $Id$
#
TARGET = avrprog
PREFIX ?= /usr/local
BINDIR = ${PREFIX}/bin
MANDIR = ${PREFIX}/man/man1
MANUAL = avrprog.1
INSTALL = /usr/bin/install -c -o root -g wheel
CFLAGS += -Wall --pedantic
LDFLAGS =
INSTALL_PROGRAM = ${INSTALL} -m 555 -s
INSTALL_DATA = ${INSTALL} -m 444
INSTALL_MANUAL = ${INSTALL_DATA}
OBJS = avr.o fileio.o main.o ppi.o term.o
LIBS = -lreadline
all : ${TARGET}
${TARGET} : ${OBJS}
${CC} ${LDFLAGS} -o ${TARGET} ${OBJS} ${LIBS}
main.o : avr.h fileio.h ppi.h term.h pindefs.h
avr.o : avr.h ppi.h pindefs.h
fileio.o : fileio.h avr.h
ppi.o : ppi.h
term.o : term.h avr.h
clean :
rm -f *~ *.core ${TARGET} *.o
install : ${BINDIR}/${TARGET} ${MANDIR}/${MANUAL}
${BINDIR}/${TARGET} : ${TARGET}
${INSTALL_PROGRAM} ${TARGET} ${BINDIR}
${MANDIR}/${MANUAL} : ${MANUAL}
${INSTALL_MANUAL} ${MANUAL} ${MANDIR}