You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rework makefile to split JavaKit targets from jextract-swift targets
The JavaKit targets (Swift calling into Java via JNI) have fewer
requirements (for JVM installations and development toolchains) and are
a bit easier to get started with. Split those targets out, and turn
`make` with no specified target into a little help target.
Fixes issue #68.
Copy file name to clipboardExpand all lines: Makefile
+12-7Lines changed: 12 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -53,12 +53,17 @@ endif
53
53
54
54
SAMPLES_DIR := "Samples"
55
55
56
-
all: generate-all
56
+
all:
57
+
@echo "Welcome to swift-java! There are several makefile targets to choose from:"
58
+
@echo " javakit-run: Run the JavaKit example program that uses Java libraries from Swift."
59
+
@echo " javakit-generate: Regenerate the Swift wrapper code for the various JavaKit libraries from Java. This only has to be done when changing the Java2Swift tool."
60
+
@echo " jextract-run: Run the Java example code that uses the wrapped Swift library. NOTE: this requires development toolchain described in the README."
61
+
@echo " jextract-generate: Generate Java wrapper code for the example Swift library allowing Swift to be called from Java. NOTE: this requires development toolchain described in the README."
0 commit comments