/tags/rel-1-3-15/SWIG/Examples/ruby/funcptr/Makefile
Makefile | 18 lines | 14 code | 4 blank | 0 comment | 0 complexity | 2de9651fe4eeb0dbdbf120f93e8ff7b7 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- TOP = ../..
- SWIG = $(TOP)/../swig
- SRCS = example.c
- TARGET = example
- INTERFACE = example.i
- all::
- $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
- TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' ruby
- static::
- $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
- TARGET='myruby' INTERFACE='$(INTERFACE)' ruby_static
- clean::
- rm -f *_wrap* *.o *~ *.so myruby .~* core
- check: all