/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
- TOP = ../..
- SWIG = $(TOP)/../swig
- SRCS = example.c
- TARGET = example
- INTERFACE = example.i
- MLFILE = example.ml
- PROGFILE = example_prog.ml
- OBJS = example.o
- all:: static
- static::
- $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
- TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' MLFILE='$(MLFILE)' \
- PROGFILE='$(PROGFILE)' OBJS='$(OBJS)' \
- ocaml_static_cpp
- dynamic::
- $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
- TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' MLFILE='$(MLFILE)' \
- PROGFILE='$(PROGFILE)' OBJS='$(OBJS)' \
- ocaml_dynamic_cpp
- clean::
- $(MAKE) -f $(TOP)/Makefile MLFILE='$(MLFILE)' ocaml_clean
- check: all