summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1996-08-21 06:04:15 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1996-08-21 06:04:15 +0000
commitb56d6e366f8f3ac5aaa4f722b389523a3321dd27 (patch)
treef85791ac0f6995781932978e0d01c516389365cb /sbin
parent230d913e2a8d063539857a5afe4ea9d5b670042b (diff)
Use .PATH, not VPATH
Don't add -g -O2 to CFLAGS
Diffstat (limited to 'sbin')
-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.