source: CIVL/Makefile@ 1513326

1.23 2.0 main
Last change on this file since 1513326 was ec5e669, checked in by Stephen Siegel <siegel@…>, 3 weeks ago

Added Makefile to produce the CIVL app in release.

  • Property mode set to 100644
File size: 927 bytes
Line 
1
2# This Makefile can be used to create a self-contained executable
3# version of CIVL with its own custom Java Virtual Machine. To build
4# the application, you need a Java Development Kit. To use the
5# application, nothing is needed, not even a Java Virtual Machine.
6
7# Instructions: Type "make". This should produce a directory named
8# civl-runtime, which contains everything needed to run CIVL. Inside
9# is a directory "bin" which contains the executable "civl". You can
10# move civl-runtime anywhere and create a symlink to the executable
11# for convenience.
12
13civl-runtime: lib/antlr3runtime.jar lib/dev.civl.gmc.jar lib/dev.civl.sarl.jar \
14 lib/antlr4runtime.jar lib/dev.civl.abc.jar lib/dev.civl.mc.jar
15 jlink --module-path "lib" \
16 --add-modules "dev.civl.sarl,dev.civl.gmc,dev.civl.abc,dev.civl.mc,antlr3runtime,antlr4runtime,java.base" \
17 --launcher "civl=dev.civl.mc/dev.civl.mc.CIVL" \
18 --output "civl-runtime"
Note: See TracBrowser for help on using the repository browser.