2.0
|
Last change
on this file was 3b44025, checked in by Stephen Siegel <siegel@…>, 12 days ago |
|
Improved comments in Makefile and updated installation instructions.
|
-
Property mode
set to
100644
|
|
File size:
1.2 KB
|
| Line | |
|---|
| 1 | # This Makefile can be used to create a self-contained executable
|
|---|
| 2 | # version of CIVL with its own custom Java Virtual Machine. To build
|
|---|
| 3 | # the application, you need a Java Development Kit. To use the
|
|---|
| 4 | # application, nothing is needed, not even a Java Virtual Machine.
|
|---|
| 5 |
|
|---|
| 6 | # Instructions: Type "make". This should produce a directory named
|
|---|
| 7 | # civl-runtime, which contains everything needed to run CIVL. Inside
|
|---|
| 8 | # is a directory "bin" which contains the executable script "civl".
|
|---|
| 9 | # You can move civl-runtime anywhere and then edit your PATH
|
|---|
| 10 | # environment variable to contain the bin directory. For example, add
|
|---|
| 11 | # a line like
|
|---|
| 12 | #
|
|---|
| 13 | # export PATH=/path/to/civl-runtime/bin:$PATH
|
|---|
| 14 | #
|
|---|
| 15 | # in your .zprofile, .bash_profile, or similar startup file. You may
|
|---|
| 16 | # also consider editing civl by adding JVM options, e.g., to increase
|
|---|
| 17 | # maximum heap size.
|
|---|
| 18 |
|
|---|
| 19 | civl-runtime: lib/antlr3runtime.jar lib/dev.civl.gmc.jar lib/dev.civl.sarl.jar \
|
|---|
| 20 | lib/antlr4runtime.jar lib/dev.civl.abc.jar lib/dev.civl.mc.jar
|
|---|
| 21 | jlink --strip-debug --module-path "lib" \
|
|---|
| 22 | --add-modules "dev.civl.sarl,dev.civl.gmc,dev.civl.abc,dev.civl.mc,antlr3runtime,antlr4runtime,java.base" \
|
|---|
| 23 | --launcher "civl=dev.civl.mc/dev.civl.mc.CIVL" \
|
|---|
| 24 | --output "civl-runtime"
|
|---|
| 25 |
|
|---|
| 26 | clean:
|
|---|
| 27 | rm -rf civl-runtime
|
|---|
| 28 |
|
|---|
| 29 | .PHONY: clean
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.