summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortholo <tholo@openbsd.org>1996-08-21 06:04:08 +0000
committertholo <tholo@openbsd.org>1996-08-21 06:04:08 +0000
commit85cd756cc73f2ecd20b8a20d9a89e93488675d08 (patch)
tree181032466c7026dcf8ccfdacc2a19cf32a6c7ec5
parentDon't override BINOWN and BINGRP (diff)
downloadwireguard-openbsd-85cd756cc73f2ecd20b8a20d9a89e93488675d08.tar.xz
wireguard-openbsd-85cd756cc73f2ecd20b8a20d9a89e93488675d08.zip
Use .PATH, not VPATH
Don't add -g -O2 to CFLAGS
-rw-r--r--sbin/config_slot/Makefile12
-rw-r--r--sbin/pcmcia_cntrl/Makefile9
2 files changed, 9 insertions, 12 deletions
diff --git a/sbin/config_slot/Makefile b/sbin/config_slot/Makefile
index 9cddf17faa7..663c950bfb4 100644
--- a/sbin/config_slot/Makefile
+++ b/sbin/config_slot/Makefile
@@ -1,15 +1,15 @@
-# $OpenBSD: Makefile,v 1.2 1996/06/23 14:30:02 deraadt Exp $
+# $OpenBSD: Makefile,v 1.3 1996/08/21 06:04:08 tholo Exp $
-SRCS = config_slot.c pcmcia_conf.c
-VPATH = ${.CURDIR}/../../sys/dev/pcmcia
+SRCS= config_slot.c pcmcia_conf.c
#dumpreg.c
-CFLAGS+= -g -O2 -Wmissing-prototypes -I${.CURDIR}/../../sys
-PROG=config_slot
+.PATH: ${.CURDIR}/../../sys/dev/pcmcia
+
+CFLAGS+=-Wmissing-prototypes -I${.CURDIR}/../../sys
+PROG= config_slot
NOMAN=
pcmcia_conf.o: pcmcia_conf.c
$(CC) $(CFLAGS) -D_KERNEL -c $<
.include <bsd.prog.mk>
-# DO NOT DELETE THIS LINE -- make depend depends on it.
diff --git a/sbin/pcmcia_cntrl/Makefile b/sbin/pcmcia_cntrl/Makefile
index 764608d41c4..ddbbfa2b45c 100644
--- a/sbin/pcmcia_cntrl/Makefile
+++ b/sbin/pcmcia_cntrl/Makefile
@@ -1,9 +1,6 @@
-# $OpenBSD: Makefile,v 1.2 1996/06/23 14:31:59 deraadt Exp $
+# $OpenBSD: Makefile,v 1.3 1996/08/21 06:04:14 tholo Exp $
-SRCS = pcmcia_cntrl.c
-
-CFLAGS += -g
-PROG=pcmcia_cntrl
+SRCS= pcmcia_cntrl.c
+PROG= pcmcia_cntrl
.include <bsd.prog.mk>
-# DO NOT DELETE THIS LINE -- make depend depends on it.