ligo/Makefile

19 lines
298 B
Makefile
Raw Normal View History

2017-02-27 19:54:03 +04:00
INSTALL_ARGS := $(if $(PREFIX),--prefix $(PREFIX),)
2016-01-12 21:20:06 +04:00
# Default rule
2016-12-15 15:20:46 +04:00
default:
2017-03-02 22:31:33 +04:00
jbuilder build @install
2016-01-12 21:20:06 +04:00
2016-12-15 15:20:46 +04:00
install:
2017-02-27 19:54:03 +04:00
jbuilder install $(INSTALL_ARGS)
2016-01-12 21:20:06 +04:00
2016-12-15 15:20:46 +04:00
uninstall:
2017-02-27 19:54:03 +04:00
jbuilder uninstall $(INSTALL_ARGS)
2016-01-12 21:20:06 +04:00
2018-05-23 20:00:52 +04:00
reinstall: uninstall install
2016-01-12 21:20:06 +04:00
2016-12-15 15:20:46 +04:00
clean:
rm -rf _build
2016-01-12 21:20:06 +04:00
2016-12-15 15:20:46 +04:00
.PHONY: default install uninstall reinstall clean