From: Eric S. Raymond Date: Thu, 11 Sep 2003 07:18:46 +0000 (+0000) Subject: Link with debufggng version on system libraries. X-Git-Tag: 1.3~25 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=f6273b6d3afe51c3c07ca7b86203a360b6ba2c4a;p=comparator.git Link with debufggng version on system libraries. --- 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 *~