/tags/rel-1-3-26/SWIG/Examples/python/libffi/Makefile
Makefile | 19 lines | 15 code | 4 blank | 0 comment | 0 complexity | 227b61c951f746632ee543efc50968ef MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
1TOP = ../.. 2SWIG = $(TOP)/../swig 3SRCS = 4TARGET = example 5INTERFACE = example.i 6 7all:: 8 $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \ 9 TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' LIBS='-L/usr/local/lib -lffi' python 10 11static:: 12 $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \ 13 TARGET='mypython' INTERFACE='$(INTERFACE)' python_static 14 15clean:: 16 $(MAKE) -f $(TOP)/Makefile python_clean 17 rm -f $(TARGET).py 18 19check: all