aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2025-03-31 17:05:42 +0200
committerJonas Smedegaard <dr@jones.dk>2025-03-31 17:07:33 +0200
commitdb57e539760b4f9d3fba2f7027abe9dbd017c45d (patch)
treef4165a9b65e7a9da28cdfbac9616609528e5f2a5 /Makefile
parent4649104978b834156a649d7f1e4613c940e6b626 (diff)
expand to use multi-framework MVC pattern
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 402cd21..f8f2ecf 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,17 @@
PROJECT = dk/abcdefghijklmnopqrstuvxyzæøå/bachelorizer/Main
-CLASSPATHS = .
+MODULEPATHS = /usr/share/openjfx/lib
+JAVAMODULES = $(addprefix javafx.,base controls graphics)
DOCUMENTS = delivery1
include _make/*.mk
+# silence security restriction warning
+JAVAFLAGS += --enable-native-access=javafx.graphics
+
+# silence warnig specific to JDK 23-24
+# @see <https://stackoverflow.com/a/79526038/18619283>
+JAVAFLAGS += --sun-misc-unsafe-memory-access=allow
+
all:: render
render: