diff options
author | Kenneth Russel <[email protected]> | 2001-11-11 01:24:01 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2001-11-11 01:24:01 +0000 |
commit | dd631860774a4c8739179b150f771acce9829d1d (patch) | |
tree | 34e445237f0e9f7174b4f0e99d09afb9d277c16d | |
parent | 603d6cac0aee219f4d24270e3669712f5b5f0900 (diff) |
Fixed Win32 build problem when MSJAVAC not defined
-rw-r--r-- | makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 |