From: hydra Date: Mon, 31 Jul 2000 11:58:11 +0000 (+0000) Subject: Change the file holding the dependencies to ".depend". X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=bc36b9c3b700132e62705c98794cf92b4808f6a8;p=users%2Frw%2Fppcboot.git Change the file holding the dependencies to ".depend". This is about the best choice of all, and hopefully - this will be the last change to which filename we use. :) --- diff --git a/common/Makefile b/common/Makefile index b27b0bd..91ecf6c 100644 --- a/common/Makefile +++ b/common/Makefile @@ -39,11 +39,11 @@ clean: rm -f $(OBJS) distclean: clean - rm -f $(LIB) core *.bak Makefile.dep + rm -f $(LIB) core *.bak .depend -Makefile.dep: Makefile $(OBJS:.o=.c) +.depend: Makefile $(OBJS:.o=.c) $(CC) -M $(CFLAGS) $(OBJS:.o=.c) > $@ -depend dep: Makefile.dep +depend dep: .depend -sinclude Makefile.dep +sinclude .depend diff --git a/examples/Makefile b/examples/Makefile index 3baef9e..1d61cee 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -37,7 +37,7 @@ clean: rm -f $(OBJS) distclean: clean - rm -f $(SREC) $(SREC:.srec=) core *.bak Makefile.dep + rm -f $(SREC) $(SREC:.srec=) core *.bak .depend ######################################################################### @@ -47,9 +47,9 @@ distclean: clean ######################################################################### -Makefile.dep: Makefile $(OBJS:.o=.c) +.depend: Makefile $(OBJS:.o=.c) $(CC) -M $(CFLAGS) $(OBJS:.o=.c) > $@ -depend dep: Makefile.dep +depend dep: .depend -sinclude Makefile.dep +sinclude .depend diff --git a/mpc8xx/Makefile b/mpc8xx/Makefile index 7bf4d5b..71b0525 100644 --- a/mpc8xx/Makefile +++ b/mpc8xx/Makefile @@ -39,11 +39,11 @@ clean: rm -f $(START) $(OBJS) distclean: clean - rm -f $(LIB) core *.bak Makefile.dep + rm -f $(LIB) core *.bak .depend -Makefile.dep: Makefile $(START:.o=.S) $(OBJS:.o=.c) +.depend: Makefile $(START:.o=.S) $(OBJS:.o=.c) $(CC) -M $(CFLAGS) $(START:.o=.S) $(OBJS:.o=.c) > $@ -depend dep: Makefile.dep +depend dep: .depend -sinclude Makefile.dep +sinclude .depend diff --git a/ppc/Makefile b/ppc/Makefile index 7ff6564..489cd0b 100644 --- a/ppc/Makefile +++ b/ppc/Makefile @@ -39,11 +39,11 @@ clean: rm -f $(OBJS) distclean: clean - rm -f $(LIB) core *.bak Makefile.dep + rm -f $(LIB) core *.bak .depend -Makefile.dep: Makefile $(AOBJS:.o=.S) $(COBJS:.o=.c) +.depend: Makefile $(AOBJS:.o=.S) $(COBJS:.o=.c) $(CC) -M $(CFLAGS) $(AOBJS:.o=.S) $(COBJS:.o=.c) > $@ -depend dep: Makefile.dep +depend dep: .depend -sinclude Makefile.dep +sinclude .depend diff --git a/tools/Makefile b/tools/Makefile index 8d35872..666a651 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -53,11 +53,11 @@ clean: rm -f $(OBJS) distclean: clean - rm -f $(BINS) core *.bak Makefile.dep + rm -f $(BINS) core *.bak .depend -Makefile.dep: Makefile $(OBJS:.o=.c) +.depend: Makefile $(OBJS:.o=.c) $(CC) -M $(CPPFLAGS) -I../include $(OBJS:.o=.c) > $@ -depend dep: Makefile.dep +depend dep: .depend -sinclude Makefile.dep +sinclude .depend diff --git a/tqm8xx/Makefile b/tqm8xx/Makefile index 971f0a8..b5fe35e 100644 --- a/tqm8xx/Makefile +++ b/tqm8xx/Makefile @@ -34,13 +34,13 @@ clean: rm -f $(SOBJS) $(OBJS) distclean: clean - rm -f $(LIB) core *.bak Makefile.dep + rm -f $(LIB) core *.bak .depend ######################################################################### -Makefile.dep: Makefile $(SOBJS:.o=.S) $(OBJS:.o=.c) +.depend: Makefile $(SOBJS:.o=.S) $(OBJS:.o=.c) $(CC) -M $(CFLAGS) $(SOBJS:.o=.S) $(OBJS:.o=.c) > $@ -depend dep: Makefile.dep +depend dep: .depend -sinclude Makefile.dep +sinclude .depend