/tags/rel-1-3-24/SWIG/Examples/python/exception/Makefile
Makefile | 20 lines | 16 code | 4 blank | 0 comment | 0 complexity | aacd303713f71b9da2d55efa1ace63bd MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- TOP = ../..
- SWIG = $(TOP)/../swig
- CXXSRCS =
- TARGET = example
- INTERFACE = example.i
- LIBS = -lm
- all::
- $(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
- TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' python_cpp
- static::
- $(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
- TARGET='mypython' INTERFACE='$(INTERFACE)' python_cpp_static
- clean::
- $(MAKE) -f $(TOP)/Makefile python_clean
- rm -f $(TARGET).py
- check: all