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,22 +5,18 @@ TARGET = example
INTERFACE = example.i
LIBS = -lm
all:: Example.class
check: build
$(MAKE) -f $(TOP)/Makefile perl5_run
build: Example.class
$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' CXX="gcj" \
CXXSHARED="gcj -fpic -shared Example.class" PERL5_CCFLAGS='' PERL5_EXP='' LIBS="-lstdc++" perl5_cpp
clean::
clean:
$(MAKE) -f $(TOP)/Makefile perl5_clean
rm -f *.class Example.h
check: all
run:
perl runme.pl
Example.class: Example.java
gcj -fPIC -C -c -g Example.java
gcjh Example