blob: 8db059dd1593ff2b76d37d325d91c255ae870457 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-ab,v 1.2 2004/03/09 21:11:20 snj Exp $
--- makefile.orig Thu Jul 21 19:50:44 1994
+++ makefile
@@ -5,7 +5,7 @@
# Non-test options. Comment (#) out if testing with GDB.
#
-CFLAGS= -O -DSTRDUP_MISSING -DSTRRSTR_MISSING -DSTRSTR_MISSING
+CFLAGS+= -DSTRRSTR_MISSING
LDFLAGS=
#
@@ -28,6 +28,8 @@
SRCS= mapit.c strdup.c getopt.c strrstr.c strstr.c
OBJS= mapit.o strdup.o getopt.o strrstr.o strstr.o
+
+all: ${PRG}
${PRG}: ${OBJS}
${CC} ${LDFLAGS} -o ${PRG} ${OBJS} ${LIBS}
|