##
## Copyright (C) 1997 $B9b66(B $B?-(B (TAKAHASHI Shin)
##

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


all: amulet-animator

amulet-animator: amulet-animator.o Shape.o
	$(CC) -DBSD amulet-animator.o Shape.o /usr/ucblib/libucb.a \
	$(AM_LDFLAGS) -L/usr/local/lib/amulet-2.0/lib -lamulet $(AM_LIBS) -lsocket -o amulet-animator

amulet-animator.o: amulet-animator.cc
	$(CC)  -DBSD $(AM_CFLAGS) -c amulet-animator.cc

Shape.o: Shape.cc
	$(CC)  -DBSD $(AM_CFLAGS) -c Shape.cc

clean :
	rm *.o
