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
|
|
@ -3,7 +3,10 @@ SWIG = $(TOP)/../preinst-swig
|
|||
SWIGOPT =
|
||||
LIBS =
|
||||
|
||||
all::
|
||||
check: build
|
||||
$(MAKE) -f $(TOP)/Makefile python_run
|
||||
|
||||
build:
|
||||
$(MAKE) -f $(TOP)/Makefile SWIG='$(SWIG)' SWIGOPT='$(SWIGOPT)' \
|
||||
LIBS='$(LIBS)' TARGET='base' INTERFACE='base.i' python_cpp
|
||||
$(MAKE) -f $(TOP)/Makefile SWIG='$(SWIG)' SWIGOPT='$(SWIGOPT)' \
|
||||
|
|
@ -14,9 +17,6 @@ all::
|
|||
LIBS='$(LIBS)' TARGET='spam' INTERFACE='spam.i' python_cpp
|
||||
|
||||
|
||||
clean::
|
||||
$(MAKE) -f $(TOP)/Makefile python_clean
|
||||
@rm -f foo.py bar.py spam.py base.py
|
||||
|
||||
check: all
|
||||
$(MAKE) -f $(TOP)/Makefile python_run
|
||||
clean:
|
||||
$(MAKE) -f $(TOP)/Makefile TARGET='$(TARGET)' python_clean
|
||||
rm -f foo.py bar.py spam.py base.py
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue