TOPDIR = ../..
include ../../MakeVars
include ../../Makerules

SRCS = $(wildcard *.c)
OBJS = $(SRCS:.c=.o)

all: hand.o 

hand.o: $(OBJS)
	$(RM) hand.o
	$(LD) -r -o hand.o $(OBJS)

dep depend:
	$(DEPEND) $(SRCS) > .depend

tags: 
	ln -sf $(TOPDIR)/TAGS TAGS
	etags -a -o TAGS $(SRCS)

clean:
	$(RM) *.o

#
# include a dependency file if one exists
#
ifeq (.depend,$(wildcard .depend))
include .depend
endif

