Put .PATH later so SRCDIR is defined
This commit is contained in:
parent
cba18d24c6
commit
5caec5db02
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.2 1995/10/13 18:10:17 gwr Exp $
|
||||
# $NetBSD: Makefile,v 1.3 1995/10/13 18:35:17 gwr Exp $
|
||||
# Build a "small init" (i.e. for boot media)
|
||||
|
||||
PROG= init
|
||||
@ -11,8 +11,8 @@ LDADD= -lutil
|
||||
SRCDIR= ${BSDSRCDIR}/sbin/init
|
||||
CFLAGS+= -DLETS_GET_SMALL -I${SRCDIR}
|
||||
|
||||
.PATH: ${SRCDIR}
|
||||
|
||||
all: ${PROG}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
.PATH: ${SRCDIR}
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.2 1995/10/13 18:10:29 gwr Exp $
|
||||
# $NetBSD: Makefile,v 1.3 1995/10/13 18:35:26 gwr Exp $
|
||||
# Build a smaller dd (i.e. for boot media)
|
||||
|
||||
PROG= dd
|
||||
@ -11,8 +11,8 @@ SRCS= args.c conv.c dd.c misc.c position.c
|
||||
|
||||
CFLAGS+= -DNO_CONV -I${SRCDIR}
|
||||
|
||||
.PATH: ${SRCDIR}
|
||||
|
||||
all: ${PROG}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
.PATH: ${SRCDIR}
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.2 1995/10/13 18:10:31 gwr Exp $
|
||||
# $NetBSD: Makefile,v 1.3 1995/10/13 18:35:28 gwr Exp $
|
||||
# Build a smaller ifconfig (i.e. for boot media)
|
||||
|
||||
PROG= ifconfig
|
||||
@ -7,8 +7,8 @@ NOMAN=
|
||||
SRCDIR= ${BSDSRCDIR}/sbin/ifconfig
|
||||
CFLAGS+= -DINET_ONLY -I${SRCDIR}
|
||||
|
||||
.PATH: ${SRCDIR}
|
||||
|
||||
all: ${PROG}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
.PATH: ${SRCDIR}
|
||||
|
Loading…
Reference in New Issue
Block a user