PageRenderTime 38ms CodeModel.GetById 29ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Examples/ocaml/std_vector/Makefile

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