$NetBSD: patch-aa,v 1.1.1.1 2005/01/20 17:59:13 tv Exp $

--- Makefile.orig	2005-01-20 12:32:21.000000000 -0500
+++ Makefile
@@ -34,10 +34,6 @@
 #
 #DEFS = -DUNIX -DMALLOCH
 
-DEFS = -DUNIX -DSTDLIB -D_NEXT_SOURCE -ansi -pedantic
-
-CFLAGS = -O ${DEFS}
-
 HDR = ansi.h cawf.h cawflib.h proto.h regexp.h regmagic.h
 
 SRC = cawf.c device.c error.c expand.c expr.c getopt.c macsup.c nreq.c \
@@ -49,10 +45,10 @@ OBJ = cawf.o device.o error.o expand.o e
 all:	bsfilt cawf
 
 bsfilt: bsfilt.c
-	${CC} ${CFLAGS} bsfilt.c -o bsfilt
+	${COMPILE.c} -o bsfilt bsfilt.c
 
 cawf:	${OBJ}
-	${CC} ${CFLAGS} ${OBJ} -o cawf
+	${LINK.c} -o cawf ${OBJ}
 
 clean:
 	rm -f *.o a.out core *errs bsfilt cawf
