PageRenderTime 10ms CodeModel.GetById 2ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 1ms

/trunk/Examples/octave/operator/Makefile

#
Makefile | 22 lines | 18 code | 4 blank | 0 comment | 0 complexity | aa74acf581b3df1e0a277f9ae10335b9 MD5 | raw file
 1TOP        = ../..
 2SWIG       = $(TOP)/../preinst-swig
 3CXXSRCS    = 
 4TARGET     = example
 5INTERFACE  = example.i
 6LIBS       = -lm
 7SWIGOPT    = 
 8
 9all::
10	$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
11	SWIGOPT='$(SWIGOPT)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' octave_cpp
12
13static::
14	$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
15	TARGET='myoctave' INTERFACE='$(INTERFACE)' octave_cpp_static
16
17clean::
18	$(MAKE) -f $(TOP)/Makefile octave_clean
19	rm -f $(TARGET).m
20
21check: all
22	$(MAKE) -f $(TOP)/Makefile octave_run