/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

  1. TOP = ../..
  2. SWIG = $(TOP)/../swig
  3. SRCS = example.c
  4. TARGET = example
  5. INTERFACE = example.i
  6. all::
  7. $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
  8. TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' ruby
  9. static::
  10. $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
  11. TARGET='myruby' INTERFACE='$(INTERFACE)' ruby_static
  12. clean::
  13. rm -f *_wrap* *.o *~ *.so myruby .~* core
  14. check: all