# This the "pr2" project Makefile, generated by CosmoCode
#
# DO NOT EDIT THIS FILE -- IT WILL GET OVERWRITTEN BY CosmoCode AS NEEDED.
#
#
# pr2.customize:
#
#	Although you should not alter this main Makefile, you can customize it.  To do so,
#	just create a file called "pr2.customize".  pr2.customize
#	is automatically included by this Makefile and will not be overwritten by CosmoCode.
#
#	You can put any Makefile customization you need in "pr2.customize".  It
#	will be included after all generated definitions (FOO=...) lines, and before any of
#	those definitions are used in a Make rule.  This allows it to completely customize
#	the main Makefile actions.
#
#	The major kinds of customizations you can do are:
#
#	* Add new targets of your own.  Except as described below, they will not
#	  get called by CosmoCode, but you will be able to run them from a command
#	  line, such as a DOS shell window.
#
#	* Add behavior in the conventional Makefile way, using single-colon or
#	  double-colon rules, as appropriate.
#
#	* Modify behavior in the main Makefile by redefining certain variables:
#
#		* DEFAULT_TARGET is just what it says.  If you want to have the default
#		  target be something other than "all", redefine DEFAULT_TARGET to be the
#		  target or targets you want.
#
#		* ALL_TARGETS is the list of what will get built by "make all", which is also
#		  the default action (unless you override it).
#
#		* CLEAN_FILES is the list of files that will get removed by a "make clean".
#		  The "clean" target is customarily used to remove intermediate and other
#		  temporary files that are not needed for your project to execute.
#
#		* CLOBBER_FILES is the list of files that will get removed by a "make clobber".
#		  The "clobber" target is customarily used to remove all generated files,
#		  restoring your tree to the state it was in before you did any building.  Note
#		  that a "make clobber" first does a "make clean" automatically.
#

#
# pr2.depend and pr2.dep:
#
#	These are generated dependency files.  pr2.depend is used for Makefile
#	builds, and pr2.dep is used with non-Makefile builds.
#
#	The dependency file is initialized when the Makefile is first constructed, and then
#	automatically updated with every build.  You can also manually force dependency
#	information to be updated from the menus.

BUILD_DIR = E:/promenad/pr2
CLASS_PATH = C:\Program Files\CosmoSoftware\CosmoCode\bin\ccode-javac.jar;E:\promenad\pr2\;E:\promenad\eventmaps;E:\promenad\pr2;C:\Program Files\CosmoSoftware\CosmoCode\cmpnts\rw;C:\Program Files\CosmoSoftware\CosmoCode\cmpnts\rw\parts\jdb0200j;C:\Program Files\Netscape\Communicator\Program\JAVA\CLASSES\java40.jar;C:\Program Files\CosmoSoftware\CosmoPlayer\npcosmop211.zip;C:\Program Files\CosmoSoftware\CosmoCode\cmpnts\rw;C:\Program Files\CosmoSoftware\CosmoCode\cmpnts\rw\parts\jdb0200j;E:\promenad\eventmaps;C:\Program Files\CosmoSoftware\CosmoCode\lib\classes.zip;$(CLASSPATH);
PROJECTNAME = pr2
SHELL = bash.exe

JAVAC = javac
JAVA_FLAGS = $(DEBUG) -verbose $(IDE_CMD_LINE_FLAGS)
vpath %.java ://E\promenad\pr2://E/promenad\eventmaps\com\sgi\ccode\eventmaps://E/promenad\pr2:

BASIC_CLASSES =  EventMapper.class MouseEventMapper.class TextEventMapper.class Promenad.class
DEPENDENCIES_DIR = $(BUILD_DIR)/__TEMP__DEPENDENCIES__DIR__
DEPENDENCIES_FILE = $(BUILD_DIR)/pr2.depend
CLOBBER_DEPENDENCIES = $(DEPENDENCIES_FILE) $(BUILD_DIR)/pr2.dep

# DEFAULT_TARGET is the default make action -- i.e. a "make" command with no explicit target.
# Redefining it in pr2.customize will reset it.
#
DEFAULT_TARGET = all
default:

# Note that we set the CLASSES definition in pr2.depend, so it must be included
# early (but not before we establish the default target).
#
-include $(DEPENDENCIES_FILE)

# ADDED_CLASSES is defined in pr2.depend
# ALL_TARGETS sets what "make all" does.
#
ALL_TARGETS = $(BASIC_CLASSES) $(ADDED_CLASSES)

# TARGETS is defined just because it is a common make idiom.
TARGETS = $(ALL_TARGETS)

# CLEAN_FILES sets what "make clean" removes.  The "clean" target is customarily used to
# remove intermediate and other temporary files not needed for your project to execute.
CLEAN_FILES =

# CLOBBER_FILES sets what "make clobber" removes beyond what "make clean" removes.  The
# "clobber" target is customarily used to remove all generated files, restoring the build
# tree to the state it was in before any building was done.  This is also what the "Clean"
# menu entries call.
#
CLOBBER_FILES = $(TARGETS) $(CLOBBER_DEPENDENCIES)

# All overridable definitions are complete, but none has been used in a rule yet.
# Here is the place where a user can provide any desired customization.
# The customization file can contain both definitions, including overrides of
# the above definitions) and added rules.
#
-include pr2.customize

default: $(DEFAULT_TARGET)

all: $(ALL_TARGETS)


# Note that "clean" and "clobber" are double colon rules.  This is to allow greater
# flexibility in customization.  For example:
#
#	* To eliminate the clean action of this Makefile, define CLEAN_FILES to be empty.
#
#	* To add additional clean actions, either redefine CLEAN_FILES to be what is needed
#	  or, for greatest flexibility, simply add another "clean::" rule with its own
#	  associated actions:
#			clean::
#				<whatever you want to do>
clean::
	@if [ "$(CLEAN_FILES)" ]; then CMD="rm -f $(CLEAN_FILES)"; echo "$$CMD"; eval "$$CMD"; fi

clobber:: clean
	@if [ "$(CLOBBER_FILES)" ]; then CMD="rm -f $(CLOBBER_FILES)"; echo "$$CMD"; eval "$$CMD"; fi

depend:
	@echo "----- Make dependencies starting -----"
	-if [ -d "$(DEPENDENCIES_DIR)" ]; then rm -rf "$(DEPENDENCIES_DIR)"; fi
	-mkdir "$(DEPENDENCIES_DIR)";
	-( cd "$(DEPENDENCIES_DIR)"; $(MAKE) -f "../pr2.mak" BUILD_DIR="$(DEPENDENCIES_DIR)" all )
	-rm -rf "$(DEPENDENCIES_DIR)";
	@echo "----- Make dependencies ending -----"
	
info:
	@echo CLASS_PATH="$(CLASS_PATH)"

_ccode_empty=
_ccode_space= $(_ccode_empty) $(_ccode_empty)

%.class:
	@echo "--- Compiling: $< ---";
	@(cd $(subst :,\$(_ccode_space), $(dir $(subst $(_ccode_space),:,$(subst \,/,$<)))); $(JAVAC) $(JAVA_FLAGS) -d "$(BUILD_DIR)" "`gnu2std $(subst :,\$(_ccode_space), $(subst $(_ccode_space),:,$<))`")


.PHONY: default all clean clobber depend

.PHONY: EventMapper
ifndef _ccode_skip_EventMapper
EventMapper: EventMapper.class
EventMapper.class: //E/promenad/eventmaps/com/sgi/ccode/eventmaps/EventMapper.java
endif

.PHONY: MouseEventMapper
ifndef _ccode_skip_MouseEventMapper
MouseEventMapper: MouseEventMapper.class
MouseEventMapper.class: //E/promenad/eventmaps/com/sgi/ccode/eventmaps/MouseEventMapper.java
endif

.PHONY: TextEventMapper
ifndef _ccode_skip_TextEventMapper
TextEventMapper: TextEventMapper.class
TextEventMapper.class: //E/promenad/eventmaps/com/sgi/ccode/eventmaps/TextEventMapper.java
endif

.PHONY: Promenad
ifndef _ccode_skip_Promenad
Promenad: Promenad.class
Promenad.class: //E/promenad/pr2/Promenad.java
endif
