18 lines
587 B
Plaintext
18 lines
587 B
Plaintext
$OpenBSD: patch-Makefile,v 1.2 2004/06/19 21:00:45 jakob Exp $
|
|
--- Makefile.orig 2004-06-19 22:58:29.000000000 +0200
|
|
+++ Makefile 2004-06-19 22:58:51.000000000 +0200
|
|
@@ -2,12 +2,7 @@ VERSION= 1.3.0
|
|
|
|
CHAR_SIZE=16
|
|
|
|
-DEBUG= -g
|
|
-CC= gcc
|
|
-GCCFLAGS= -Wall -ansi -pedantic
|
|
-# HP-UX users may need to add -D_HPUX_SOURCE
|
|
-CFLAGS= $(GCCFLAGS) $(DEBUG) -O -DCHAR_SIZE=$(CHAR_SIZE)
|
|
-LDFLAGS= $(DEBUG)
|
|
+CFLAGS+= -DCHAR_SIZE=$(CHAR_SIZE)
|
|
|
|
# You may well have to change this line. Just "LIBS=" will probably work.
|
|
LIBS:sh= [ -f /usr/lib/libsocket.a ] && echo "-lnsl -lsocket -ldl" || echo ""
|