[klibc] [PATCH] Makefile dependencies

Olaf Hering olh at suse.de
Fri Nov 28 09:52:28 PST 2003


ash/sh depends on crt0.o, but it has no dependency, so it will not see
updates to the changed file.

diff -p -purNx linux -x '.*.d' -x syscalls -x socketcalls y/klibc-0.87/ash/Makefile klibc-0.87/ash/Makefile
--- y/klibc-0.87/ash/Makefile	2003-02-10 12:05:21.000000000 +0100
+++ klibc-0.87/ash/Makefile	2003-11-28 00:39:38.000000000 +0100
@@ -31,7 +31,7 @@ CLEANFILES =\
 
 all:	$(PROG) $(PROG).shared
 
-$(PROG): $(OBJS) $(LIBS)
+$(PROG): $(OBJS) $(LIBS) $(CRT0)
 	$(LD) $(LDFLAGS) -o $(PROG) $(CRT0) $(OBJS) $(LIBS)
 	$(STRIP) $(PROG)
 

-- 
USB is for mice, FireWire is for men!

sUse lINUX ag, nÜRNBERG



More information about the klibc mailing list