Skip to content
Snippets Groups Projects
Commit f03eb88b authored by hondet's avatar hondet
Browse files

Makefile for qfo

parent 94e32b4b
No related branches found
No related tags found
No related merge requests found
psnj-qfo
_build
PREFIX ?= /usr/local
dune ?= dune
_EXE = _build/default/bin/qfo.exe
all: psnj-qfo psnj-qfo.1
${_EXE}:
@dune build
psnj-qfo: ${_EXE}
@ln -sf ${_EXE} $@
psnj-qfo.1: psnj-qfo
@./psnj-qfo --help=groff > $@
install: psnj-qfo psnj-qfo.1
cp -Lf psnj-qfo ${PREFIX}/bin/
cp -Lf psnj-qfo.1 ${PREFIX}/man/man1/
uninstall:
rm -f ${PREFIX}/bin/psnj-qfo
rm -f ${PREFIX}/man/man1/psnj-qfo.1
clean:
rm -f psnj-qfo psnj-qfo.1
dune clean
.PHONY: install uninstall clean
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment