mkfile (476B)
1 <config.mk 2 3 wendy: wendy.o 4 ${LD} $prereq ${LDFLAGS} ${LIBS} -o $target 5 6 wendy.o: wendy.c 7 ${CC} -c -o $target $prereq ${CPPFLAGS} ${CFLAGS} 8 9 clean:V: 10 rm -f wendy *.o 11 12 install:V: wendy wendy.1 13 mkdir -p ${DESTDIR}${PREFIX}/bin 14 mkdir -p ${DESTDIR}${MANPREFIX}/man1 15 cp wendy ${DESTDIR}${PREFIX}/bin/wendy 16 cp wendy.1 ${DESTDIR}${MANPREFIX}/man1/ 17 chmod 755 ${DESTDIR}${PREFIX}/bin/wendy 18 19 uninstall:V: 20 rm ${DESTDIR}${PREFIX}/bin/wendy 21 rm ${DESTDIR}${MANPREFIX}/man1/wendy.1