# Copyright (C) 2014-2023 Stephan Kreutzer
#
# This file is part of hyperdex_1, a submodule of the
# digital_publishing_workflow_tools package.
#
# hyperdex_1 is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License version 3 or any later version,
# as published by the Free Software Foundation.
#
# hyperdex_1 is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License 3 for more details.
#
# You should have received a copy of the GNU Affero General Public License 3
# along with hyperdex_1. If not, see <http://www.gnu.org/licenses/>.



.PHONY: all hyperdex_1 clean



all: hyperdex_1
hyperdex_1: hyperdex_1.class



hyperdex_1.class: hyperdex_1.java InfoMessage.class ProgramTerminationException.class ActionListenerButtonNode.class ActionListenerMenuItem.class ActionListenerOperationButton.class ItemEventXAxisComboBox.class Node.class Edge.class DataFileLoader.class NewEntryDialog.class
	javac -encoding UTF-8 hyperdex_1.java

InfoMessage.class: InfoMessage.java
	javac -encoding UTF-8 InfoMessage.java

ProgramTerminationException.class: ProgramTerminationException.java
	javac -encoding UTF-8 ProgramTerminationException.java

ActionListenerOperationButton.class: ActionListenerOperationButton.java NodeDialog.class
	javac -encoding UTF-8 ActionListenerOperationButton.java

ActionListenerNodeDialogResult.class: ActionListenerNodeDialogResult.java
	javac -encoding UTF-8 ActionListenerNodeDialogResult.java

NodeDialog.class: NodeDialog.java ActionListenerNodeDialogResult.class
	javac -encoding UTF-8 NodeDialog.java

ActionListenerNewEntryDialogResult.class: ActionListenerNewEntryDialogResult.java
	javac -encoding UTF-8 ActionListenerNewEntryDialogResult.java

NewEntryDialog.class: NewEntryDialog.java ActionListenerNewEntryDialogResult.class
	javac -encoding UTF-8 NewEntryDialog.java

ActionListenerButtonNode.class: ActionListenerButtonNode.java
	javac -encoding UTF-8 ActionListenerButtonNode.java

ActionListenerMenuItem.class: ActionListenerMenuItem.java
	javac -encoding UTF-8 ActionListenerMenuItem.java

ItemEventXAxisComboBox.class: ItemEventXAxisComboBox.java
	javac -encoding UTF-8 ItemEventXAxisComboBox.java

Node.class: Node.java
	javac -encoding UTF-8 Node.java

Edge.class: Edge.java
	javac -encoding UTF-8 Edge.java

DataFileLoader.class: DataFileLoader.java
	javac -encoding UTF-8 DataFileLoader.java

clean:
	rm -f ./*.class
