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

/trunk/Examples/octave/module_load/Makefile

#
Makefile | 26 lines | 22 code | 4 blank | 0 comment | 0 complexity | ae4d9ead786d84f7dd276f7c4505f9a1 MD5 | raw file
 1TOP        = ../..
 2SWIG       = $(TOP)/../preinst-swig
 3SRCS       = example.c
 4TARGET     = example
 5INTERFACE  = example.i
 6OCTSCRIPTS = \
 7	runme_args.m \
 8	runme_gl_func.m \
 9	runme_gl_func_base.m \
10	runme_nogl_func.m \
11	runme_nogl_func_base.m
12
13all::
14	$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
15	TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' octave
16
17static::
18	$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
19	TARGET='myoctave' INTERFACE='$(INTERFACE)' octave_static
20
21clean::
22	$(MAKE) -f $(TOP)/Makefile octave_clean
23	rm -f $(TARGET).m
24
25check: all
26	$(MAKE) -f $(TOP)/Makefile OCTSCRIPT="$(OCTSCRIPTS)" octave_run