/trunk/Examples/python/operator/Makefile
Makefile | 22 lines | 18 code | 4 blank | 0 comment | 0 complexity | ecc19c37279d03aef08753175d520c97 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- TOP = ../..
- SWIG = $(TOP)/../preinst-swig
- CXXSRCS =
- 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)' \
- 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