Makefile 402 B

123456789101112131415161718192021222324252627282930
  1. #
  2. # https://github.com/ocaml/dune/tree/master/example/sample-projects/hello_world
  3. # via https://stackoverflow.com/a/54712669
  4. #
  5. .PHONY: all build clean test install uninstall doc examples
  6. build:
  7. dune build bin/shaarli_cgi.exe
  8. all: build
  9. test:
  10. dune runtest
  11. examples:
  12. dune build @examples
  13. install:
  14. dune install
  15. uninstall:
  16. dune uninstall
  17. doc:
  18. dune build @doc
  19. clean:
  20. rm -rf _build *.install