PageRenderTime 49ms CodeModel.GetById 20ms RepoModel.GetById 1ms app.codeStats 0ms

/tags/rel-1-3-26/SWIG/Examples/ocaml/argout_ref/Makefile

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