- (bal) Makefile fix to use $(MAKE) instead of 'make' for platforms

that use 'gmake'.   Patch by Tim Rice <tim@multitalents.net>
This commit is contained in:
Ben Lindstrom 2001-02-02 10:17:46 +00:00
parent 2ffbbe6fc9
commit 25a7785a30
2 changed files with 5 additions and 3 deletions

View File

@ -1,6 +1,8 @@
20010102 20010102
- (bal) Makefile fix where sourcedir != builddir by Corinna Vinschen - (bal) Makefile fix where sourcedir != builddir by Corinna Vinschen
<vinschen@redhat.com> <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 20010101
- (bal) Minor fix to Makefile to stop rebuilding executables if no - (bal) Minor fix to Makefile to stop rebuilding executables if no

View File

@ -79,7 +79,7 @@ $(LIBOPENBSD_COMPAT_OBJS): config.h
LIBCOMPAT=openbsd-compat/libopenbsd-compat.a LIBCOMPAT=openbsd-compat/libopenbsd-compat.a
$(LIBCOMPAT): $(LIBCOMPAT):
(cd `dirname $@`; make) (cd `dirname $@`; $(MAKE))
libssh.a: $(LIBSSH_OBJS) libssh.a: $(LIBSSH_OBJS)
$(AR) rv $@ $(LIBSSH_OBJS) $(AR) rv $@ $(LIBSSH_OBJS)
@ -117,12 +117,12 @@ $(MANPAGES) $(CONFIGFILES)::
$(FIXPATHSCMD) $(srcdir)/$@ $(FIXPATHSCMD) $(srcdir)/$@
clean: clean:
(cd openbsd-compat; make clean) (cd openbsd-compat; $(MAKE) clean)
rm -f *.o *.a $(TARGETS) logintest config.cache config.log rm -f *.o *.a $(TARGETS) logintest config.cache config.log
rm -f *.out core rm -f *.out core
distclean: clean distclean: clean
(cd openbsd-compat; make distclean) (cd openbsd-compat; $(MAKE) distclean)
rm -f Makefile config.h config.status ssh_prng_cmds *~ rm -f Makefile config.h config.status ssh_prng_cmds *~
mrproper: distclean mrproper: distclean