- (bal) Makefile fix to use $(MAKE) instead of 'make' for platforms
that use 'gmake'. Patch by Tim Rice <tim@multitalents.net>
diff --git a/ChangeLog b/ChangeLog
index a4ea90a..07ecba3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,8 @@
20010102
- (bal) Makefile fix where sourcedir != builddir by Corinna Vinschen
<vinschen@redhat.com>
+ - (bal) Makefile fix to use $(MAKE) instead of 'make' for platforms
+ that use 'gmake'. Patch by Tim Rice <tim@multitalents.net>
20010101
- (bal) Minor fix to Makefile to stop rebuilding executables if no
diff --git a/Makefile.in b/Makefile.in
index 7880ab5..52009f2 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -79,7 +79,7 @@
LIBCOMPAT=openbsd-compat/libopenbsd-compat.a
$(LIBCOMPAT):
- (cd `dirname $@`; make)
+ (cd `dirname $@`; $(MAKE))
libssh.a: $(LIBSSH_OBJS)
$(AR) rv $@ $(LIBSSH_OBJS)
@@ -117,12 +117,12 @@
$(FIXPATHSCMD) $(srcdir)/$@
clean:
- (cd openbsd-compat; make clean)
+ (cd openbsd-compat; $(MAKE) clean)
rm -f *.o *.a $(TARGETS) logintest config.cache config.log
rm -f *.out core
distclean: clean
- (cd openbsd-compat; make distclean)
+ (cd openbsd-compat; $(MAKE) distclean)
rm -f Makefile config.h config.status ssh_prng_cmds *~
mrproper: distclean