Files
avrdude/Makefile
Brian S. Dean 9ce8db00b7 Switch to using readline() for getting terminal input. I can't seem
to get the history capabilities working yet, but even so, it does
better handling of the prompt and strips newlines for us, so it's
still a win.

Add a few new commands for terminal mode: help, sig, part, erase.
Display rudimentory help using the help command.

Add some function prototypes.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@36 81a1dc3b-b13d-400b-aceb-764788c761c2
2001-01-18 03:25:03 +00:00

35 lines
594 B
Makefile

#------------------------------------------------------------------------
#
# $Id$
#
# Makefile
#
TARGET = avrprog
PREFIX ?= /usr/local
BINDIR = ${PREFIX}/bin
INSTALL = /usr/bin/install -c -o root -g wheel
CFLAGS += -Wall --pedantic
INSTALL_PROGRAM = ${INSTALL} -m 555 -s
INSTALL_DATA = ${INSTALL} -m 444
INSTALL_MANUAL = ${INSTALL_DATA}
all : $(TARGET)
$(TARGET) : avrprog.c
$(CC) $(CFLAGS) -o $(TARGET) $< -lreadline
clean :
rm -f *~ *.core $(TARGET)
install : ${BINDIR}/$(TARGET)
${BINDIR}/$(TARGET) : $(TARGET)
${INSTALL_PROGRAM} $(TARGET) ${BINDIR}