PageRenderTime 9ms CodeModel.GetById 2ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Examples/ocaml/scoped_enum/Makefile

#
Makefile | 33 lines | 27 code | 6 blank | 0 comment | 0 complexity | 7f23bdd753c063e8308a0650edf92184 MD5 | raw file
 1TOP        = ../..
 2SWIG       = $(TOP)/../preinst-swig
 3SRCS       = 
 4TARGET     = example
 5INTERFACE  = example.i
 6MLFILE     = example.ml
 7PROGFILE   = example_prog.ml
 8OBJS       = 
 9
10all:: static 
11
12dynamic::
13	$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
14	TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' MLFILE='$(MLFILE)' \
15	PROGFILE='$(PROGFILE)' OBJS='$(OBJS)' \
16	ocaml_dynamic_cpp
17
18static::
19	$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
20	TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' MLFILE='$(MLFILE)' \
21	PROGFILE='$(PROGFILE)' OBJS='$(OBJS)' \
22	ocaml_static_cpp
23
24toplevel::
25	$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
26	TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' MLFILE='$(MLFILE)' \
27	PROGFILE='$(PROGFILE)' OBJS='$(OBJS)' \
28	ocaml_static_cpp_toplevel
29
30clean::
31	$(MAKE) -f $(TOP)/Makefile MLFILE='$(MLFILE)' ocaml_clean
32
33check: all