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,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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue