blob: 615ed024a7cefb764724f8056f82ffa46da3dbe7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
--- Makefile.orig Sat Sep 22 00:28:48 2001
+++ Makefile Sat Sep 22 00:29:33 2001
@@ -2,12 +2,13 @@
CC=gcc
DEFS=-DHAS_HERROR -DHAVE_IPV6 -DHAVE_GETOPT
DEBUG=
-CFLAGS=-Wall $(DEFS) $(DEBUG)
+CFLAGS+=-Wall $(DEFS) $(DEBUG) -I%%LOCALBASE%%/include
#CFLAGS=-Wall
-LDFLAGS=-lpthread
+LDFLAGS=-lpthread -L%%LOCALBASE%%/lib -lgnugetopt
#LDFLAGS=-lpthread -lsocket -lnsl
mget: mget.o mgetutil.o
+ ${CC} ${LDFLAGS} mget.o mgetutil.o -o mget
mget.usriv: mget_usriv.o mgetutil.o
$(CC) $(LDFLAGS) mget_usriv.o mgetutil.o -o mget.usriv
|