only compile the one file
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Fri, 22 Jan 1988 02:27:34 +0000 (18:27 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Fri, 22 Jan 1988 02:27:34 +0000 (18:27 -0800)
SCCS-vsn: usr.bin/passwd/Makefile 5.2

usr/src/usr.bin/passwd/Makefile

index d051633..dc57b21 100644 (file)
@@ -3,23 +3,22 @@
 # 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
-OBJS=  passwd.o
 
 all: passwd
 
 
 all: passwd
 
-passwd:        ${OBJS} ${LIBC}
-       ${CC} -o $@ ${CFLAGS} ${OBJS}
+passwd: ${LIBC}
+       ${CC} -o $@ ${CFLAGS} ${SRCS}
 
 clean: FRC
 
 clean: FRC
-       rm -f ${OBJS} core passwd
+       rm -f core passwd
 
 depend: FRC
 
 depend: FRC
-       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
@@ -37,11 +36,10 @@ FRC:
 # 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