# Makefile for sealink
#

PROG	= ../../sealink
CFLAGS  = -c -O

OBJS	= sealink$(O)

.c$(O):	
	$(CC) $(CFLAGS) -o $*$(O) $<

all:	$(PROG)

$(PROG):	$(OBJS)
		$(LD) $(LDFLAGS) $(PROG) $(OBJS)

clean:
	rm -f core *$(O) $(PROG)

dep:
	$(CC) -E -M *.c > .depend

ifeq (.depend,$(wildcard .depend))
include .depend
endif
