SCCS-vsn: usr.bin/passwd/Makefile 5.2
# All rights reserved. The Berkeley software License Agreement
# specifies the terms and conditions for redistribution.
#
# All rights reserved. The Berkeley software License Agreement
# specifies the terms and conditions for redistribution.
#
-# @(#)Makefile 5.1 (Berkeley) %G%
+# @(#)Makefile 5.2 (Berkeley) %G%
#
CFLAGS= -O
LIBC= /lib/libc.a
SRCS= passwd.c
#
CFLAGS= -O
LIBC= /lib/libc.a
SRCS= passwd.c
-passwd: ${OBJS} ${LIBC}
- ${CC} -o $@ ${CFLAGS} ${OBJS}
+passwd: ${LIBC}
+ ${CC} -o $@ ${CFLAGS} ${SRCS}
- rm -f ${OBJS} core passwd
- mkdep ${CFLAGS} ${SRCS}
+ mkdep -p ${CFLAGS} ${SRCS}
install: FRC
install -s -o root -g bin -m 4755 passwd ${DESTDIR}/bin/passwd
install: FRC
install -s -o root -g bin -m 4755 passwd ${DESTDIR}/bin/passwd
# DO NOT DELETE THIS LINE -- mkdep uses it.
# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
# DO NOT DELETE THIS LINE -- mkdep uses it.
# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-passwd.o: passwd.c /usr/include/sys/types.h /usr/include/sys/file.h
-passwd.o: /usr/include/sys/stat.h /usr/include/sys/time.h /usr/include/time.h
-passwd.o: /usr/include/sys/resource.h /usr/include/stdio.h
-passwd.o: /usr/include/signal.h /usr/include/machine/trap.h /usr/include/pwd.h
-passwd.o: /usr/include/ndbm.h /usr/include/errno.h /usr/include/strings.h
-passwd.o: /usr/include/ctype.h
+passwd: passwd.c /usr/include/sys/types.h /usr/include/sys/file.h
+passwd: /usr/include/sys/stat.h /usr/include/sys/time.h /usr/include/time.h
+passwd: /usr/include/sys/resource.h /usr/include/stdio.h /usr/include/signal.h
+passwd: /usr/include/machine/trap.h /usr/include/pwd.h /usr/include/ndbm.h
+passwd: /usr/include/errno.h /usr/include/strings.h /usr/include/ctype.h
# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
# IF YOU PUT ANYTHING HERE IT WILL GO AWAY