PageRenderTime 22ms CodeModel.GetById 20ms app.highlight 1ms RepoModel.GetById 0ms 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
 1TOP        = ../..
 2SWIG       = $(TOP)/../swig
 3SRCS       = example.c
 4TARGET     = example
 5INTERFACE  = example.i
 6MLFILE     = example.ml
 7PROGFILE   = example_prog.ml
 8OBJS       = example.o
 9
10all:: static 
11
12static::
13	$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
14	TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' MLFILE='$(MLFILE)' \
15	PROGFILE='$(PROGFILE)' OBJS='$(OBJS)' \
16	ocaml_static_cpp
17
18dynamic::
19	$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
20	TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' MLFILE='$(MLFILE)' \
21	PROGFILE='$(PROGFILE)' OBJS='$(OBJS)' \
22	ocaml_dynamic_cpp
23
24clean::
25	$(MAKE) -f $(TOP)/Makefile MLFILE='$(MLFILE)' ocaml_clean
26
27check: all