From dd631860774a4c8739179b150f771acce9829d1d Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Sun, 11 Nov 2001 01:24:01 +0000 Subject: Fixed Win32 build problem when MSJAVAC not defined --- makefile | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- cgit v1.2.3