summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--i386/Makefile.in3
-rw-r--r--i386/Makefrag5
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: