PageRenderTime 47ms CodeModel.GetById 23ms RepoModel.GetById 0ms app.codeStats 0ms

/trunk/Examples/ocaml/std_vector/Makefile

#
Makefile | 23 lines | 18 code | 5 blank | 0 comment | 0 complexity | 012bbee0c4a7c37b34ba80ae15aedebe MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. TOP = ../..
  2. SWIG = $(TOP)/../preinst-swig
  3. SRCS =
  4. TARGET = example
  5. INTERFACE = example.i
  6. PROGFILE = runme.ml
  7. all default:: static
  8. static::
  9. $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
  10. PROGFILE='$(PROGFILE)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' \
  11. ocaml_static_cpp
  12. dynamic::
  13. $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
  14. PROGFILE='$(PROGFILE)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' \
  15. ocaml_dynamic_cpp
  16. clean::
  17. $(MAKE) -f $(TOP)/Makefile TARGET='$(TARGET)' ocaml_clean
  18. check: all