# Makefile for a SWIG module. Use this file if you are
# producing a Ruby extension for general use or distribution.
# 2. Modify this file as appropriate.
# 3. Type 'make -f Makefile.swig' to generate wrapper code and Makefile.
# 4. Type 'make' to build your extension.
# 5. Type 'make install' to install your extension.
WRAPPER = $(MODULE)_wrap.c
#WRAPPER = $(MODULE)_wrap.cc
swigall: $(WRAPPER) Makefile
$(SWIG) $(SWIGOPT) -o $@ $(INTERFACE)
@if [ -f Makefile ] ; then\
echo "include Makefile.swig" >> Makefile;\
@if [ -f Makefile ] ; then\
rm -f Makefile $(WRAPPER)