/trunk/Examples/python/libffi/Makefile
# · Makefile · 20 lines · 16 code · 4 blank · 0 comment · 0 complexity · 72bdc0ef084b721c63d2b3b6598dd83b MD5 · raw file
- TOP = ../..
- SWIG = $(TOP)/../preinst-swig
- SRCS =
- TARGET = example
- INTERFACE = example.i
- all::
- $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
- TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' LIBS='-L/usr/local/lib -lffi' python
- static::
- $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
- TARGET='mypython' INTERFACE='$(INTERFACE)' python_static
- clean::
- $(MAKE) -f $(TOP)/Makefile python_clean
- rm -f $(TARGET).py
- check: all
- $(MAKE) -f $(TOP)/Makefile python_run