Perl examples makefiles clean target fixed and use RUNPIPE and tidyup
This commit is contained in:
parent
14a89fac86
commit
92ffedceb5
16 changed files with 102 additions and 84 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue