From 0a48ed30db8f1d11986bc62e8a7f99229d8c484f Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 20 Jul 1999 18:34:06 +0000 Subject: 1999-07-20 Roland McGrath Force subdirectory targets so they get recompiled properly. * i386/Makefile.in (linux/linux.o): Depend on FORCE instead of linux. (FORCE): New target. * i386/Makefrag (i386/sysdep.o, FORCE): Likewise. --- i386/Makefile.in | 3 ++- i386/Makefrag | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'i386') diff --git a/i386/Makefile.in b/i386/Makefile.in index d47bcc1..b6355e5 100644 --- a/i386/Makefile.in +++ b/i386/Makefile.in @@ -29,8 +29,9 @@ sysdep.o: linux/linux.o $(srcdir)/configure rm -f $@ $(LD) -r -o $@ linux/linux.o -linux/linux.o: linux +linux/linux.o: FORCE cd linux && $(MAKE) all +FORCE: clean: rm -f sysdep.o diff --git a/i386/Makefrag b/i386/Makefrag index 38e7632..d2d56f2 100644 --- a/i386/Makefrag +++ b/i386/Makefrag @@ -61,12 +61,13 @@ endif # We link the device drivers together into this file in a separate Make # run, because the Linux-related code sometimes re-uses filenames. Arrange -# to have that Makefile used to generate and clean and otherwise deal with +# to have that Makefile used to generate and clean and otherwise deal with # those filenames. objfiles += i386/sysdep.o -i386/sysdep.o: $(systype) +i386/sysdep.o: FORCE cd i386 && $(MAKE) all +FORCE: clean: i386-clean i386-clean: -- cgit v1.2.3