19 lines
300 B
Makefile
19 lines
300 B
Makefile
INSTALL_ARGS := $(if $(PREFIX),--prefix $(PREFIX),)
|
|
|
|
# Default rule
|
|
default:
|
|
jbuilder build @install
|
|
|
|
install:
|
|
jbuilder install $(INSTALL_ARGS)
|
|
|
|
uninstall:
|
|
jbuilder uninstall $(INSTALL_ARGS)
|
|
|
|
reinstall: uninstall reinstall
|
|
|
|
clean:
|
|
rm -rf _build
|
|
|
|
.PHONY: default install uninstall reinstall clean
|