mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
- skip including java rather than having recursive includes (and too many files open error) when WM_JAVAC_OPTION isn't defined.
12 lines
377 B
Plaintext
12 lines
377 B
Plaintext
.SUFFIXES: .java .class
|
|
|
|
javac = javac
|
|
|
|
## avoid recursive include if WM_JAVAC_OPTION isn't defined
|
|
## include $(GENERAL_RULES)/java$(WM_JAVAC_OPTION)
|
|
|
|
javaFLAGS = -classpath $(CLASS_PATH):$(CLASSES_DIR):. $(EXE_INC) $(javaOPT) $(javaDBUG) -d $(CLASSES_DIR) -deprecation
|
|
|
|
javatoclass = mkdir -p $(CLASSES_DIR) ; \
|
|
( $(javac) $(javaFLAGS) $$SOURCE || ( rm -f $@ ) )
|