From: Eric S. Raymond Date: Thu, 18 Sep 2003 22:30:21 +0000 (+0000) Subject: This change is good. X-Git-Tag: 2.1~13 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=116e2723a5c950ec73234d7b2f9c5be2133727e9;p=comparator.git This change is good. --- diff --git a/Makefile b/Makefile index 55bcf44..74ee187 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ VERS=2.0 -CODE = shredtree.c shred.h report.c hash.c filter.c main.c \ +CODE = shredtree.c shred.h report.c hash.c linebyline.c main.c \ hash.h hashtab.h \ filterator SCRIPTS = hashgen.py setup.py @@ -20,25 +20,25 @@ all: comparator comparator.1 main.o: main.c shred.h hash.h $(CC) -DVERSION=\"$(VERS)\" -c $(CFLAGS) main.c -filter.o: filter.c - $(CC) -c $(CFLAGS) filter.c +linebyline.o: linebyline.c + $(CC) -c $(CFLAGS) linebyline.c hash.o: hash.c hash.h hashtab.h $(CC) -c $(CFLAGS) hash.c shredtree.o: shredtree.c shred.h hash.h $(CC) -c $(CFLAGS) shredtree.c report.o: report.c shred.h hash.h $(CC) -c $(CFLAGS) report.c -comparator: main.o hash.o filter.o shredtree.o report.o - $(CC) $(CFLAGS) main.o hash.o filter.o shredtree.o report.o $(LDFLAGS) -o comparator +comparator: main.o hash.o linebyline.o shredtree.o report.o + $(CC) $(CFLAGS) main.o hash.o linebyline.o shredtree.o report.o $(LDFLAGS) -o comparator hashtab.h: hashgen.py python hashgen.py >hashtab.h -filter: filter.c - $(CC) -DTEST $(CFLAGS) -o filter filter.c +linebyline: linebyline.c + $(CC) -DTEST $(CFLAGS) -o linebyline linebyline.c clean: - rm -f comparator filter *.o *~ + rm -f comparator linebyline *.o *~ rm -f comparator.1 filterator.1 rm -f *.dump *.scf