/trunk/Examples/python/reference/Makefile
# · Makefile · 21 lines · 17 code · 4 blank · 0 comment · 0 complexity · bc6a41edd466029e3842b745698c7fea MD5 · raw file
- TOP = ../..
- SWIG = $(TOP)/../preinst-swig
- CXXSRCS = example.cxx
- 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