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
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