summaryrefslogtreecommitdiff
blob: e59f305b99b171ced10f4279bbb1501d8f7026d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- a/Makefile.orig	2008-03-24 07:16:47.000000000 -0400
+++ b/Makefile	2008-03-24 07:17:18.000000000 -0400
@@ -3,6 +3,7 @@
 CC?=gcc
 CFLAGS?=-g -O2 -Wall 
 CFLAGS+=-I. -DVERSION=\"$(MAJOR).$(MINOR)\"
+LDLIBS+=-lz
 prefix?=/usr/local
 OBJS=\
 	cbtcommon/debug.o\
@@ -21,7 +22,6 @@
 all: cvsps
 
 cvsps: $(OBJS)
-	$(CC) -o cvsps $(OBJS) -lz
 
 install:
 	[ -d $(prefix)/bin ] || mkdir -p $(prefix)/bin