Makefile 1006 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # OASIS_START
  2. # DO NOT EDIT (digest: 0ea630b0d23ed49c1bf5c457a3a51866)
  3. SETUP = ./setup.exe
  4. build: setup.data $(SETUP)
  5. $(SETUP) -build $(BUILDFLAGS)
  6. doc: setup.data $(SETUP) build
  7. $(SETUP) -doc $(DOCFLAGS)
  8. test: setup.data $(SETUP) build
  9. $(SETUP) -test $(TESTFLAGS)
  10. all: $(SETUP)
  11. $(SETUP) -all $(ALLFLAGS)
  12. install: setup.data $(SETUP)
  13. $(SETUP) -install $(INSTALLFLAGS)
  14. uninstall: setup.data $(SETUP)
  15. $(SETUP) -uninstall $(UNINSTALLFLAGS)
  16. reinstall: setup.data $(SETUP)
  17. $(SETUP) -reinstall $(REINSTALLFLAGS)
  18. clean: $(SETUP)
  19. $(SETUP) -clean $(CLEANFLAGS)
  20. distclean: $(SETUP)
  21. $(SETUP) -distclean $(DISTCLEANFLAGS)
  22. $(RM) $(SETUP)
  23. setup.data: $(SETUP)
  24. $(SETUP) -configure $(CONFIGUREFLAGS)
  25. configure: $(SETUP)
  26. $(SETUP) -configure $(CONFIGUREFLAGS)
  27. setup.exe: setup.ml
  28. ocamlfind ocamlopt -o $@ setup.ml || ocamlfind ocamlc -o $@ setup.ml || true
  29. $(RM) setup.cmi setup.cmo setup.cmx setup.o
  30. .PHONY: build doc test all install uninstall reinstall clean distclean configure
  31. # OASIS_STOP