Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/utils/libhack We don't need to give explicit rules f...



details:   https://anonhg.NetBSD.org/src/rev/58d843080a24
branches:  trunk
changeset: 472769:58d843080a24
user:      wrstuden <wrstuden%NetBSD.org@localhost>
date:      Thu May 06 18:48:23 1999 +0000

description:
We don't need to give explicit rules for .c.o conversion, the default
ones work fine, and are correct for cross-compiling.

diffstat:

 distrib/utils/libhack/Makefile.inc |  10 +---------
 1 files changed, 1 insertions(+), 9 deletions(-)

diffs (36 lines):

diff -r c7681c7a73c7 -r 58d843080a24 distrib/utils/libhack/Makefile.inc
--- a/distrib/utils/libhack/Makefile.inc        Thu May 06 18:40:39 1999 +0000
+++ b/distrib/utils/libhack/Makefile.inc        Thu May 06 18:48:23 1999 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.5 1999/03/13 19:08:43 sommerfe Exp $
+# $NetBSD: Makefile.inc,v 1.6 1999/05/06 18:48:23 wrstuden Exp $
 # Include this fragment to build libhack.o
 # It is .o and not .a to make sure these are the
 # objects you get (and not the ones in libc.a)
@@ -10,26 +10,18 @@
        $(LD) -r -o $@ $(HACKOBJS)
 
 getcap.o : ${HACKSRC}/getcap.c
-       ${CC} ${CFLAGS} -c ${HACKSRC}/getcap.c
 
 getgrent.o : ${HACKSRC}/getgrent.c
-       ${CC} ${CFLAGS} -c ${HACKSRC}/getgrent.c
 
 gethost.o : ${HACKSRC}/gethost.c
-       ${CC} ${CFLAGS} -c ${HACKSRC}/gethost.c
 
 getnet.o : ${HACKSRC}/getnet.c
-       ${CC} ${CFLAGS} -c ${HACKSRC}/getnet.c
 
 getnetgr.o : ${HACKSRC}/getnetgr.c
-       ${CC} ${CFLAGS} -c ${HACKSRC}/getnetgr.c
 
 getpwent.o : ${HACKSRC}/getpwent.c
-       ${CC} ${CFLAGS} -c ${HACKSRC}/getpwent.c
 
 setlocale.o : ${HACKSRC}/setlocale.c
-       ${CC} ${CFLAGS} -c ${HACKSRC}/setlocale.c
 
 yplib.o : ${HACKSRC}/yplib.c
-       ${CC} ${CFLAGS} -c ${HACKSRC}/yplib.c
 



Home | Main Index | Thread Index | Old Index