Python examples makefiles clean target fixed and use RUNPIPE and tidyup
This commit is contained in:
parent
0fa791d1ea
commit
cc4ac0a9e9
35 changed files with 232 additions and 275 deletions
|
|
@ -5,20 +5,18 @@ TARGET = example
|
|||
INTERFACE = example.i
|
||||
LIBS = -lm
|
||||
|
||||
all:: Example.class
|
||||
check: build
|
||||
|
||||
build: Example.class
|
||||
$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
|
||||
TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' CXX="gcj" \
|
||||
CXXSHARED="gcj -fpic -shared Example.class" DEFS='' LIBS="-lstdc++" python_cpp
|
||||
|
||||
|
||||
clean::
|
||||
clean:
|
||||
$(MAKE) -f $(TOP)/Makefile python_clean
|
||||
rm -f $(TARGET).py
|
||||
rm -f *.class Example.h
|
||||
|
||||
check: all
|
||||
|
||||
|
||||
Example.class: Example.java
|
||||
gcj -fPIC -C -c -g Example.java
|
||||
gcjh Example
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue