mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-09-28 06:55:27 +00:00
Make the pin definitions configurable based on entries in a config
file. This makes supporting other programmers much easier. Rename AVRprog.pdf to avrprog.pdf. git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@67 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
22
Makefile
22
Makefile
@@ -11,12 +11,13 @@ BINDIR = ${PREFIX}/bin
|
||||
MANDIR = ${PREFIX}/man/man1
|
||||
MANUAL = avrprog.1
|
||||
DOCDIR = ${PREFIX}/share/doc/avrprog
|
||||
CONFIGDIR = ${PREFIX}/etc
|
||||
|
||||
DIRS = ${BINDIR} ${MANDIR} ${DOCDIR}
|
||||
DIRS = ${BINDIR} ${MANDIR} ${DOCDIR} ${CONFIGDIR}
|
||||
|
||||
INSTALL = /usr/bin/install -c -o root -g wheel
|
||||
|
||||
CFLAGS += -Wall --pedantic
|
||||
CFLAGS = -g -Wall --pedantic -DCONFIG_DIR=\"${CONFIGDIR}\"
|
||||
|
||||
LDFLAGS =
|
||||
|
||||
@@ -39,7 +40,11 @@ ${TARGET} : ${OBJS}
|
||||
clean :
|
||||
rm -f *~ *.core ${TARGET} *.o
|
||||
|
||||
install : dirs ${BINDIR}/${TARGET} ${MANDIR}/${MANUAL} ${DOCDIR}/AVRprog.pdf
|
||||
install : dirs \
|
||||
${BINDIR}/${TARGET} \
|
||||
${MANDIR}/${MANUAL} \
|
||||
${DOCDIR}/avrprog.pdf \
|
||||
${CONFIGDIR}/avrprog.conf.sample
|
||||
|
||||
|
||||
dirs :
|
||||
@@ -51,11 +56,14 @@ dirs :
|
||||
done
|
||||
|
||||
${BINDIR}/${TARGET} : ${TARGET}
|
||||
${INSTALL_PROGRAM} ${TARGET} ${BINDIR}
|
||||
${INSTALL_PROGRAM} ${TARGET} $@
|
||||
|
||||
${MANDIR}/${MANUAL} : ${MANUAL}
|
||||
${INSTALL_MANUAL} ${MANUAL} ${MANDIR}
|
||||
${INSTALL_MANUAL} ${MANUAL} $@
|
||||
|
||||
${DOCDIR}/AVRprog.pdf : AVRprog.pdf
|
||||
${INSTALL_DATA} AVRprog.pdf ${DOCDIR}/AVRprog.pdf
|
||||
${DOCDIR}/avrprog.pdf : avrprog.pdf
|
||||
${INSTALL_DATA} avrprog.pdf $@
|
||||
|
||||
${CONFIGDIR}/avrprog.conf.sample : avrprog.conf.sample
|
||||
${INSTALL_DATA} avrprog.conf.sample $@
|
||||
|
||||
|
Reference in New Issue
Block a user