CC= gcc
RM= rm -f

SRCS	= dsgrep.c
OBJS	= dsgrep.o

LIBS	= -ldsk -lkrb -ldes -lusp -lcom_err

CDEBUGFLAGS = -O -g -Wall
CCOPTIONS = 
CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) -I/usr/athena/include
LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) -L/usr/athena/lib

all: dsgrep

dsgrep:  $(OBJS)
	$(CC) -o $@ $(OBJS) $(LDOPTIONS) $(LIBS)

##	$(CC) -o $@ $(OBJS) $(LDOPTIONS) regexp/libregexp.a $(LIBS)

clean:
	$(RM) *~ $(OBJS) dsgrep core
