PageRenderTime 11ms CodeModel.GetById 1ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Examples/python/libffi/Makefile

#
Makefile | 20 lines | 16 code | 4 blank | 0 comment | 0 complexity | 72bdc0ef084b721c63d2b3b6598dd83b MD5 | raw file
 1TOP        = ../..
 2SWIG       = $(TOP)/../preinst-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
20	$(MAKE) -f $(TOP)/Makefile python_run