Python examples makefiles clean target fixed and use RUNPIPE and tidyup

This commit is contained in:
William S Fulton 2013-04-13 21:44:04 +01:00
commit cc4ac0a9e9
35 changed files with 232 additions and 275 deletions

View file

@ -4,17 +4,16 @@ SRCS = example.c
TARGET = example
INTERFACE = example.i
all::
check: build
$(MAKE) -f $(TOP)/Makefile python_run
build:
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' python
static::
static:
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
TARGET='mypython' INTERFACE='$(INTERFACE)' python_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