/tags/rel-1-3-25/SWIG/Examples/python/smartptr/Makefile
# · Makefile · 21 lines · 17 code · 4 blank · 0 comment · 0 complexity · 216552e38ee9805d6af8072eacdd821f MD5 · raw file
- TOP = ../..
- SWIG = $(TOP)/../swig
- CXXSRCS = example.cxx
- TARGET = example
- INTERFACE = example.i
- LIBS = -lm
- SWIGOPT =
- all::
- $(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
- SWIGOPT='$(SWIGOPT)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' python_cpp
- static::
- $(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
- SWIGOPT='$(SWIGOPT)' TARGET='mypython' INTERFACE='$(INTERFACE)' python_cpp_static
- clean::
- $(MAKE) -f $(TOP)/Makefile python_clean
- rm -f $(TARGET).py
- check: all