PageRenderTime 9ms CodeModel.GetById 1ms app.highlight 4ms RepoModel.GetById 2ms app.codeStats 0ms

/trunk/Examples/python/reference/Makefile

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