Python examples makefiles clean target fixed and use RUNPIPE and tidyup
This commit is contained in:
parent
0fa791d1ea
commit
cc4ac0a9e9
35 changed files with 232 additions and 275 deletions
|
|
@ -6,19 +6,18 @@ INTERFACE = example.i
|
|||
LIBS = -lm
|
||||
SWIGOPT = -O
|
||||
|
||||
all::
|
||||
check: build
|
||||
$(MAKE) -f $(TOP)/Makefile python_run
|
||||
|
||||
build:
|
||||
$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
|
||||
SWIGOPT='$(SWIGOPT)' \
|
||||
TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' python_cpp
|
||||
|
||||
static::
|
||||
static:
|
||||
$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
|
||||
SWIGOPT='$(SWIGOPT)' \
|
||||
TARGET='mypython' INTERFACE='$(INTERFACE)' python_cpp_static
|
||||
|
||||
clean::
|
||||
$(MAKE) -f $(TOP)/Makefile python_clean
|
||||
rm -f $(TARGET).py
|
||||
|
||||
check: all
|
||||
$(MAKE) -f $(TOP)/Makefile python_run
|
||||
clean:
|
||||
$(MAKE) -f $(TOP)/Makefile TARGET='$(TARGET)' python_clean
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue