/tags/v-1-3-a6-dev-post-xml-patch/SWIG/Examples/ruby/funcptr/Makefile
# · Makefile · 18 lines · 14 code · 4 blank · 0 comment · 0 complexity · 2de9651fe4eeb0dbdbf120f93e8ff7b7 MD5 · raw file
- 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