ligo/Makefile

20 lines
323 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
NAME := ppx_let
# Default rule
2016-12-15 15:20:46 +04:00
default:
jbuilder build-package $(NAME)
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
2016-12-15 15:20:46 +04:00
reinstall: uninstall reinstall
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