diff --git a/src/Makefile.in b/src/Makefile.in
index 41a4c4f8d0ee67cd58e26eb58cf3db79ed067379..0d56bac2649216ff26cefcc00711683d50cabb46 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -1,5 +1,5 @@
 #
-# $Id: Makefile.in,v 1.73 1998/04/10 04:36:52 hubbe Exp $
+# $Id: Makefile.in,v 1.74 1998/04/13 14:15:25 grubba Exp $
 #
 
 # This line is needed on some machines.
@@ -396,7 +396,9 @@ lobotomize_crypto:
 # Pike internal targets
 #
 module_objects: machine.h global.h modules/static_module_makefile modules/dynamic_module_makefile $(SRCDIR)/language.h lib
-	( cd modules ; ${MAKE} $(MAKE_FLAGS) )
+	@( cd modules ; rm remake >/dev/null 2>&1 || : ; \
+	   ${MAKE} $(MAKE_FLAGS) || \
+	     ( test -f remake && ${MAKE} $(MAKE_FLAGS) ) ) || exit $$?
 
 language.o: $(SRCDIR)/language.c $(SRCDIR)/object.h $(SRCDIR)/interpret.h $(SRCDIR)/program.h