From f6273b6d3afe51c3c07ca7b86203a360b6ba2c4a Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 11 Sep 2003 07:18:46 +0000 Subject: [PATCH] Link with debufggng version on system libraries. --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a69cd9c..ba8780f 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,8 @@ DOCS = README comparator.xml scf-standard.xml COPYING EXTRAS = shredtree.py shredcompare.py TEST = test SOURCES = $(CODE) $(DOCS) $(EXTRAS) $(TEST) comparator.spec Makefile -CFLAGS=-g +CFLAGS = -g +LDFLAGS = -lg all: comparator comparator.1 @@ -18,7 +19,7 @@ shredtree.o: shredtree.c shred.h report.o: report.c shred.h $(CC) -c $(CFLAGS) report.c comparator: main.o shredtree.o md5.o report.o - $(CC) main.o shredtree.o md5.o report.o -o comparator + $(CC) main.o shredtree.o md5.o report.o $(LDFLAGSx) -o comparator clean: rm -f comparator shredtree.o md5.o report.o main.o *~ -- 2.43.0