pointtools/Makefile
Anders Damsgaard d8eed1a767 Rewrite md2point in c and add minimal manpage
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2020-04-29 16:12:35 +02:00

26 lines
569 B
Makefile

PREFIX= /usr/local
bin/md2point: md2point.o
${CC} -o $@ md2point.o ${LDFLAGS}
.c.o:
${CC} -c ${CFLAGS} $<
install:
install -m755 bin/dir2point $(PREFIX)/bin/dir2point
install -m755 bin/md2point $(PREFIX)/bin/md2point
install -m755 bin/point2pdf $(PREFIX)/bin/point2pdf
install -m644 md2point.1 $(PREFIX)/share/man/man1/md2point.1
uninstall:
rm -f $(PREFIX)/bin/dir2point
rm -f $(PREFIX)/bin/md2point
rm -f $(PREFIX)/bin/point2pdf
rm -f $(PREFIX)/share/man/man1/md2point.1
clean:
rm -f bin/md2point
rm -f md2point.o
.PHONY: install uninstall clean