Makefile tweaks.
diff --git a/ChangeLog b/ChangeLog
index c6ed25a..5a72624 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,10 @@
2000-12-02 Bruno Haible <haible@clisp.cons.org>
+ * Makefile.in (check): Depend on target 'all'.
+ * Makefile.os2 (check): Likewise.
+ * Makefile.msvc (check): Depend on target 'force' as well.
+
* src/iconv.c (usage): Take an exitcode argument.
(print_version): New function.
(main): Recognize --help and --version command line options.
diff --git a/Makefile.in b/Makefile.in
index c674821..6b46778 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -66,7 +66,7 @@
$(RM) $(DESTDIR)$(includedir)/iconv.h
cd man && $(MAKE) -r uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' mandir='$(mandir)'
-check : force
+check : all force
cd libcharset && $(MAKE) -r check
cd lib && $(MAKE) -r check
cd src && $(MAKE) -r check
diff --git a/Makefile.msvc b/Makefile.msvc
index c19d98a..63565cd 100644
--- a/Makefile.msvc
+++ b/Makefile.msvc
@@ -92,7 +92,7 @@
$(RM) $(includedir)/iconv.h
cd man; $(MAKE) -r uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' mandir='$(mandir)'
-check : all
+check : all force
cd libcharset
$(MAKE) -f Makefile.msvc check
cd ..
diff --git a/Makefile.os2 b/Makefile.os2
index cf66717..1eb8f1d 100644
--- a/Makefile.os2
+++ b/Makefile.os2
@@ -41,7 +41,7 @@
(cd src && $(MAKE) -f Makefile.os2 uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)' shlibdir='$(shlibdir)' && cd ..)
(cd man && $(MAKE) -f Makefile.os2 uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' mandir='$(mandir)' && cd ..)
-check : force
+check : all force
(cd lib && $(MAKE) -f Makefile.os2 check && cd ..)
(cd src && $(MAKE) -f Makefile.os2 check && cd ..)
(cd man && $(MAKE) -f Makefile.os2 check && cd ..)