# June 14 1996
# Rob Frost
# Makefile for the FDATI and SModeling packages
#
# Copyright (c) 1995, H. Robert Frost, Stanford University.
# All rights reserved.
# Copyright (c) 1996, H. Robert Frost, Enterprise Integration Technologies,
# Inc. All rights reserved.

# Define the classes including package name.
#

CLASSES= FDATI/AnalysisPanel FDATI/AnalysisSubmission FDATI/DisplayPanel \
	 FDATI/FDATAgent FDATI/FDATContext FDATI/FDATI FDATI/FDATParams \
	 FDATI/FDATInterpreter FDATI/FDATResourceManager FDATI/FDATService \
	 FDATI/ModelPanel FDATI/ModelViewer FDATI/Models FDATI/ResultPanel \
	 FDATI/SystemMessagePanel FDATI/FDATApplet SModeling/ModelDisplay \
	 SModeling/ModelParser SModeling/ObjectFormatParser \
	 SModeling/PostParams SModeling/face SModeling/fix_point \
	 SModeling/hpoint SModeling/line SModeling/matrix SModeling/model \
	 SModeling/p_vline
all: classes

SRC=${CLASSES:%=%.java}
OBJ=${SRC:%.java=%.class}
TEMP_SRC=${SRC:%.java=%.java*~}
TEMP_OBJ=${OBJ:%.class=%.class~}

classes: $(OBJ)

rmtemp:
	rm -f $(TEMP_SRC); rm -f $(TEMP_OBJ)
 
clean:
	rm -f $(OBJ)

SUFFIXES = .java .class $(SUFFIXES)

%.class: %.java
	javac $<

