PageRenderTime 20ms CodeModel.GetById 12ms app.highlight 4ms RepoModel.GetById 2ms app.codeStats 0ms

/trunk/Examples/python/std_map/Makefile

#
Makefile | 25 lines | 20 code | 5 blank | 0 comment | 0 complexity | 9b71ddc418132d272a58e9206d501690 MD5 | raw file
 1TOP        = ../..
 2SWIG       = $(TOP)/../preinst-swig
 3CXXSRCS    = 
 4TARGET     = example
 5INTERFACE  = example.i
 6LIBS       = -lm
 7SWIGOPT    = 
 8
 9all::
10	$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
11	SWIGOPT='$(SWIGOPT)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' python_cpp
12
13static::
14	$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
15	SWIGOPT='$(SWIGOPT)' TARGET='mypython' INTERFACE='$(INTERFACE)' python_cpp_static
16
17clean::
18	$(MAKE) -f $(TOP)/Makefile python_clean
19	rm -f $(TARGET).py
20
21run:
22	python runme.py
23
24check: all
25	$(MAKE) -f $(TOP)/Makefile python_run