summaryrefslogtreecommitdiff
path: root/SWIG/Examples/java/constants/Makefile
diff options
context:
space:
mode:
authorNobody <nobody@swig.org>2001-07-09 20:32:56 +0000
committerNobody <nobody@swig.org>2001-07-09 20:32:56 +0000
commit92dd9e7e352a50a069328b4521a4b7d821fbd389 (patch)
tree4ff643c0bb115d3844644f30d381ff6268d09fb0 /SWIG/Examples/java/constants/Makefile
parent3827a00fee4a94d3b5f9fc820aafb17c72f55652 (diff)
downloadswig-rel-1-3-6.tar.gz
This commit was manufactured by cvs2svn to create tag 'v1-3-6'.v1.3.6rel-1-3-6
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/tags/v1-3-6@1264 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'SWIG/Examples/java/constants/Makefile')
-rw-r--r--SWIG/Examples/java/constants/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/SWIG/Examples/java/constants/Makefile b/SWIG/Examples/java/constants/Makefile
new file mode 100644
index 000000000..0a5478cd5
--- /dev/null
+++ b/SWIG/Examples/java/constants/Makefile
@@ -0,0 +1,20 @@
+TOP = ../..
+SWIG = $(TOP)/../swig
+SRCS =
+TARGET = libexample
+INTERFACE = example.i
+SWIGOPT = -shadow
+
+all:: java
+
+java::
+ $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
+ SWIGOPT='$(SWIGOPT)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' java_cpp
+ javac *.java
+
+clean::
+ mv main.java main.java.tmp
+ rm -f *_wrap* *.o core *~ *.so *.class *.java
+ mv main.java.tmp main.java
+
+check: all