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

@ -5,19 +5,16 @@ TARGET = example
INTERFACE = example.i
LIBS = -lxerces-c -lxerces-depdom -lm
all::
check: build
$(MAKE) -f $(TOP)/Makefile perl5_run
build:
$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' LIBS=$(LIBS) CXX="g++ -g3" perl5_cpp
static::
static:
$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
TARGET='myperl' INTERFACE='$(INTERFACE)' perl5_cpp_static
clean::
clean:
$(MAKE) -f $(TOP)/Makefile perl5_clean
check: all
run:
perl runme.pl