PageRenderTime 7ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 1ms

/trunk/Examples/ocaml/argout_ref/Makefile

#
Makefile | 27 lines | 22 code | 5 blank | 0 comment | 0 complexity | 759169d5f5229bab986ae1d815cac978 MD5 | raw file
 1TOP        = ../..
 2SWIG       = $(TOP)/../preinst-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