/tags/rel-1.3.35/Examples/python/contract/Makefile
# · Makefile · 19 lines · 16 code · 3 blank · 0 comment · 0 complexity · 75dc18224e8222c3bcafbca307d094a8 MD5 · raw file
- TOP = ../..
- SWIG = $(TOP)/../preinst-swig
- SRCS = example.c
- TARGET = example
- INTERFACE = example.i
- SWIGOPT =
- all::
- $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' SWIGOPT='$(SWIGOPT)' \
- TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' python
- static::
- $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' SWIGOPT='$(SWIGOPT)' \
- TARGET='mypython' INTERFACE='$(INTERFACE)' python_static
- clean::
- $(MAKE) -f $(TOP)/Makefile python_clean
- rm -f $(TARGET).py
- check: all