mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-09-27 22:45:27 +00:00
Automate dependency generation.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@62 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
13
Makefile
13
Makefile
@@ -22,20 +22,17 @@ INSTALL_DATA = ${INSTALL} -m 444
|
||||
INSTALL_MANUAL = ${INSTALL_DATA}
|
||||
|
||||
|
||||
OBJS = avr.o fileio.o main.o ppi.o term.o
|
||||
LIBS = -lreadline
|
||||
|
||||
all : ${TARGET}
|
||||
.include "Makefile.inc"
|
||||
|
||||
all :
|
||||
make depend
|
||||
make ${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 pindefs.h ppi.h
|
||||
|
||||
clean :
|
||||
rm -f *~ *.core ${TARGET} *.o
|
||||
|
||||
|
Reference in New Issue
Block a user