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

@ -6,15 +6,16 @@ INTERFACE = example.i
LIBS = -lm
SWIGOPT = -noproxy
all::
check: build
$(MAKE) -f $(TOP)/Makefile perl5_run
build:
$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' SWIGOPT='$(SWIGOPT)' perl5_cpp
static::
static:
$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
TARGET='myperl' INTERFACE='$(INTERFACE)' SWIGOPT='$(SWIGOPT)' perl5_cpp_static
clean::
clean:
$(MAKE) -f $(TOP)/Makefile perl5_clean
check: all