summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Src/Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/Makefile.in b/Src/Makefile.in
index 08d23e16d..98348e645 100644
--- a/Src/Makefile.in
+++ b/Src/Makefile.in
@@ -109,7 +109,7 @@ rm-modobjs-tmp:
@CONFIG_MK@
-Makemod prep: $(CONFIG_INCS) $(dir_top)/config.modules
+Makemod: $(CONFIG_INCS) $(dir_top)/config.modules
@case $(sdir_top) in \
/*) top_srcdir=$(sdir_top) ;; \
*) top_srcdir=$(subdir)/$(sdir_top) ;; \
@@ -119,6 +119,7 @@ Makemod prep: $(CONFIG_INCS) $(dir_top)/config.modules
'$$top_srcdir/$(subdir)/mkmakemod.sh $(subdir) Makemod'; \
cd $(dir_top) && \
$(SHELL) $$top_srcdir/$(subdir)/mkmakemod.sh $(subdir) Makemod
+prep: Makemod
@$(MAKE) -f Makemod $(MAKEDEFS) prep || rm -f Makemod
.PHONY: prep