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

/trunk/Examples/ocaml/simple/Makefile

#
Makefile | 33 lines | 27 code | 6 blank | 0 comment | 0 complexity | 1b321cbf39a70bc8140e62a3207d50f9 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
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
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
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_toplevel
29
30clean::
31	$(MAKE) -f $(TOP)/Makefile MLFILE='$(MLFILE)' ocaml_clean
32
33check: all