]> thyrsus.com Git - comparator.git/commitdiff
Link with debufggng version on system libraries.
authorEric S. Raymond <esr@thyrsus.com>
Thu, 11 Sep 2003 07:18:46 +0000 (07:18 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Thu, 11 Sep 2003 07:18:46 +0000 (07:18 +0000)
Makefile

index a69cd9c9ad9de7757bafe1e7a6a52c15a742329b..ba8780f51c5bec43fe237abee6e1bd0c7774ba78 100644 (file)
--- 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 *~