From 718dcdc32bc831b2c141b020124501515afb9adc Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 14 Apr 2010 15:09:43 +0200 Subject: *.o[sS]: depend on pregen allows 'make realclean && make utils' to behave properly Signed-off-by: Bernhard Reutner-Fischer --- Makerules | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/Makerules b/Makerules index af95ca0f9..1bc059e29 100644 --- a/Makerules +++ b/Makerules @@ -309,20 +309,19 @@ endef CFLAGS-.os+=$(PICFLAG) CFLAGS-.oS+=$(PICFLAG) -DSHARED -$(top_srcdir)%.i: | pregen $(top_builddir)%.o: $(top_srcdir)%.c FORCE ; $(compile.c) -$(top_builddir)%.os: $(top_srcdir)%.c FORCE ; $(compile.c) -$(top_builddir)%.oS: $(top_srcdir)%.c FORCE ; $(compile.c) +$(top_builddir)%.os: $(top_srcdir)%.c FORCE | pregen; $(compile.c) +$(top_builddir)%.oS: $(top_srcdir)%.c FORCE | pregen; $(compile.c) $(top_builddir)%.o: $(top_srcdir)%.S FORCE ; $(compile.S) -$(top_builddir)%.os: $(top_srcdir)%.S FORCE ; $(compile.S) -$(top_builddir)%.oS: $(top_srcdir)%.S FORCE ; $(compile.S) +$(top_builddir)%.os: $(top_srcdir)%.S FORCE | pregen; $(compile.S) +$(top_builddir)%.oS: $(top_srcdir)%.S FORCE | pregen; $(compile.S) $(top_builddir)%.o: $(top_srcdir)%.s FORCE ; $(compile.S) $(top_builddir)%.os: $(top_srcdir)%.s FORCE ; $(compile.S) -$(top_builddir)%.oS: $(top_srcdir)%.s FORCE ; $(compile.S) -$(top_builddir)%.i: $(top_srcdir)%.c FORCE ; $(compile.i) -$(top_builddir)%.i: $(top_srcdir)%.S FORCE ; $(compile.i) -$(top_builddir)%.s: $(top_srcdir)%.c FORCE ; $(compile.s) -$(top_builddir)%.s: $(top_srcdir)%.S FORCE ; $(compile.s) +$(top_builddir)%.oS: $(top_srcdir)%.s FORCE | pregen; $(compile.S) +$(top_builddir)%.i: $(top_srcdir)%.c FORCE | pregen; $(compile.i) +$(top_builddir)%.i: $(top_srcdir)%.S FORCE | pregen; $(compile.i) +$(top_builddir)%.s: $(top_srcdir)%.c FORCE | pregen; $(compile.s) +$(top_builddir)%.s: $(top_srcdir)%.S FORCE | pregen; $(compile.s) $(top_builddir)%.dep: $(top_builddir)lib/interp.c: | $(sub_headers) -- cgit v1.2.3