##
##  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: space

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

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

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