Revision 04e3c0474a4e2fbefcb6eb1aa70186f3713701e7 authored by Jerry James on 20 April 2021, 19:43:31 UTC, committed by Jerry James on 20 April 2021, 19:44:50 UTC
1 parent adce7bc
Raw File
Makefile
PREFIX_ARG := $(if $(PREFIX),--prefix $(PREFIX),)
LIBDIR_ARG := $(if $(LIBDIR),--libdir $(LIBDIR),)
DESTDIR_ARG := $(if $(DESTDIR),--destdir $(DESTDIR),)
INSTALL_ARGS := $(PREFIX_ARG) $(LIBDIR_ARG) $(DESTDIR_ARG)
DUNE_ARGS =
DUNE = dune

default:
	$(DUNE) build @install $(DUNE_ARGS)

install:
	$(DUNE) install $(INSTALL_ARGS) $(DUNE_ARGS)

test:
	$(DUNE) runtest $(DUNE_ARGS)

clean:
	$(DUNE) clean

doc:
	$(DUNE) build @doc $(DUNE_ARGS)
back to top