##
##  Set your AMULET_DIR environment variable to the top-level directory for
##  the Amulet hierarchy -- all other paths are computed from this.
##
##  Set your AMULET_VARS_FILE environment variable to the name of the file
##  that describes the compiler flags you want to use.  The value of this
##  variable is the name of a file in amulet/bin/, one of:
##    Makefile.vars.gcc.Sun   -  For gcc on a Sun
##    Makefile.vars.gcc.HP    -  For gcc on an HP
##    Makefile.vars.CC.Sun    -  For ObjectCenter's CC on a Sun
##    Makefile.vars.CC.HP     -  For ObjectCenter's CC on an HP
##

include $(AMULET_DIR)/bin/Makefile.vars   # Sets pathname variables and
                                          # loads $(AMULET_VARS_FILE) to
                                          # set compiler variables

all: checkers

checkers: checkers.o
	$(CC) $(AM_CFLAGS) checkers.o \
	-L$(LIB_DIR) -lamulet $(AM_LIBS) \
	-o checkers

checkers.o: checkers.cc
	$(CC) $(AM_CFLAGS) -c checkers.cc


clean:
	/bin/rm -f checkers *.o *~
