A simple RSS feed downloader that saves items in a Maildir
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
434 B

include config.mk
SRC = main.c xml.c parse.c save.c strlcpy.c
OBJ = ${SRC:.c=.o}
all: rssdl
parse.o: parse.h save.h xml.h
save.o: save.h parse.h
xml.o: xml.h
rssdl: ${OBJ}
rm -f rssdl ${OBJ}
install: rssdl
mkdir -p ${DESTDIR}${PREFIX}/bin
cp -f rssdl ${DESTDIR}${PREFIX}/bin
chmod 755 ${DESTDIR}${PREFIX}/bin/rssdl
rm -f ${DESTDIR}${PREFIX}/bin/rssdl