ALLOCA = alloca.o
OBJS = grep.o getopt.o getopt1.o regex.o \
dfa.o kwset.o obstack.o search.o /amigawildcard.o
CFLAGS = 

all: grep

grep: $(OBJS) $(ALLOCA)
	sc $(OBJS) $(ALLOCA) link

clean:;  delete #?.o grep

# Some header file dependencies that really ought to be automatically deduced.
dfa.o search.o: dfa.h
grep.o search.o: grep.h
kwset.o search.o: kwset.h
kwset.o obstack.o: obstack.h
regex.o search.o: regex.h
getopt1.o getopt.o: getopt.h
/amigawildcard.o: /amigawildcard.h
