diff options
author | Roland McGrath <roland@gnu.org> | 1999-07-20 18:34:06 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1999-07-20 18:34:06 +0000 |
commit | 0a48ed30db8f1d11986bc62e8a7f99229d8c484f (patch) | |
tree | 7ac92d14280bf64d20e1f58df42a321fdaffd0aa | |
parent | ec0d9a0c01659e8717b1e1c959796b48d32d8594 (diff) |
1999-07-20 Roland McGrath <roland@baalperazim.frob.com>
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.
-rw-r--r-- | i386/Makefile.in | 3 | ||||
-rw-r--r-- | i386/Makefrag | 5 |
2 files changed, 5 insertions, 3 deletions
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: |