aboutsummaryrefslogtreecommitdiff
path: root/Examples/java/simple/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/java/simple/Makefile')
-rw-r--r--Examples/java/simple/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Examples/java/simple/Makefile b/Examples/java/simple/Makefile
index f55601b9c..b1f254ed3 100644
--- a/Examples/java/simple/Makefile
+++ b/Examples/java/simple/Makefile
@@ -1,17 +1,18 @@
TOP = ../..
SWIG = $(TOP)/../swig
SRCS = example.c
-TARGET = libexample
+TARGET = example
INTERFACE = example.i
-SWIGOPT =
+SWIGOPT =
all:: java
java::
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
SWIGOPT='$(SWIGOPT)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' java
+ javac *.java
clean::
- rm -f *_wrap* *.o core *~ *.so *.class example.java
+ $(MAKE) -f $(TOP)/Makefile java_clean
check: all