Perl examples makefiles clean target fixed and use RUNPIPE and tidyup

This commit is contained in:
William S Fulton 2013-04-13 00:50:19 +01:00
commit 92ffedceb5
16 changed files with 102 additions and 84 deletions

View file

@ -3,7 +3,10 @@ SWIG = $(TOP)/../preinst-swig
SWIGOPT =
LIBS =
all::
check: build
$(MAKE) -f $(TOP)/Makefile perl5_run
build:
$(MAKE) -f $(TOP)/Makefile SWIG='$(SWIG)' SWIGOPT='$(SWIGOPT)' \
LIBS='$(LIBS)' TARGET='baseclass' INTERFACE='base.i' perl5_cpp
$(MAKE) -f $(TOP)/Makefile SWIG='$(SWIG)' SWIGOPT='$(SWIGOPT)' \
@ -13,8 +16,5 @@ all::
$(MAKE) -f $(TOP)/Makefile SWIG='$(SWIG)' SWIGOPT='$(SWIGOPT)' \
LIBS='$(LIBS)' TARGET='spam' INTERFACE='spam.i' perl5_cpp
clean::
clean:
$(MAKE) -f $(TOP)/Makefile perl5_clean
check: all