PageRenderTime 37ms CodeModel.GetById 30ms app.highlight 5ms RepoModel.GetById 2ms app.codeStats 0ms

/trunk/Examples/python/import/Makefile

#
Makefile | 22 lines | 18 code | 4 blank | 0 comment | 0 complexity | cfe48f95a6a6d807474383bb432553ca MD5 | raw file
 1TOP        = ../..
 2SWIG       = $(TOP)/../preinst-swig
 3SWIGOPT    =
 4LIBS       =
 5
 6all:: 
 7	$(MAKE) -f $(TOP)/Makefile SWIG='$(SWIG)' SWIGOPT='$(SWIGOPT)' \
 8	LIBS='$(LIBS)' TARGET='base' INTERFACE='base.i' python_cpp
 9	$(MAKE) -f $(TOP)/Makefile SWIG='$(SWIG)' SWIGOPT='$(SWIGOPT)' \
10	LIBS='$(LIBS)' TARGET='foo' INTERFACE='foo.i' python_cpp
11	$(MAKE) -f $(TOP)/Makefile SWIG='$(SWIG)' SWIGOPT='$(SWIGOPT)' \
12	LIBS='$(LIBS)' TARGET='bar' INTERFACE='bar.i' python_cpp
13	$(MAKE) -f $(TOP)/Makefile SWIG='$(SWIG)' SWIGOPT='$(SWIGOPT)' \
14	LIBS='$(LIBS)' TARGET='spam' INTERFACE='spam.i' python_cpp
15
16
17clean::
18	$(MAKE) -f $(TOP)/Makefile python_clean
19	@rm -f foo.py bar.py spam.py base.py
20
21check: all
22	$(MAKE) -f $(TOP)/Makefile python_run