PageRenderTime 15ms CodeModel.GetById 12ms app.highlight 2ms RepoModel.GetById 0ms app.codeStats 0ms

/tags/rel-1-3-26/SWIG/Examples/ruby/template/Makefile

#
Makefile | 20 lines | 16 code | 4 blank | 0 comment | 0 complexity | 71f4056eaadc7807ca9c6e63b45dc311 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
 1TOP        = ../..
 2SWIG       = $(TOP)/../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)' ruby_cpp
12
13static::
14	$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
15	SWIGOPT='$(SWIGOPT)' TARGET='myruby' INTERFACE='$(INTERFACE)' ruby_cpp_static
16
17clean::
18	$(MAKE) -f $(TOP)/Makefile ruby_clean
19
20check: all