aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2001-11-11 01:24:01 +0000
committerKenneth Russel <[email protected]>2001-11-11 01:24:01 +0000
commitdd631860774a4c8739179b150f771acce9829d1d (patch)
tree34e445237f0e9f7174b4f0e99d09afb9d277c16d
parent603d6cac0aee219f4d24270e3669712f5b5f0900 (diff)
Fixed Win32 build problem when MSJAVAC not defined
-rw-r--r--makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/makefile b/makefile
index bd8bc17..849f63a 100644
--- a/makefile
+++ b/makefile
@@ -268,6 +268,14 @@ $(FILES_MSW32.class): $(FILES_MSW32)
mkdir -p $(DEST_CLASSES_DIR)/${@D}
cp ${@D}/*.class $(DEST_CLASSES_DIR)/${@D}
endif
+# Otherwise, if no MSJAVAC available, we still need to compile
+# GljMSJDirect to get GLContext to compile
+ifndef MSJAVAC
+FILES_MSW32 = $(PACKAGEDIR)/system/GljMSJDirect.java
+FILES_MSW32.class = $(patsubst %,$(DEST_CLASSES_DIR)/%,${FILES_MSW32:.java=.class})
+$(FILES_MSW32.class): $(FILES_MSW32)
+ $(JAVAC_13) -O -deprecation -d $(DEST_CLASSES_DIR) $^ | tee -a errors
+endif
#
# Files in all targets