/trunk/Examples/python/exception/Makefile
# · Makefile · 21 lines · 17 code · 4 blank · 0 comment · 0 complexity · d3d6396f5b7d36ca4313706fe0f2a9ca MD5 · raw file
- TOP = ../..
- SWIG = $(TOP)/../preinst-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
- $(MAKE) -f $(TOP)/Makefile python_run