From 2fb5d15ce38d8d298c4fbf8c0bb336154a314b13 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 1 Jun 2004 00:06:14 +0000 Subject: Build fixing for FreeBSD. GNU make is installed as gmake, so make a MAKE variable (defaults to "make") and use that. Use the MKDEP and MKDEP_OPTIONS more. Our shell isn't bash, so change the instances of ">& /dev/null" to a more compatible "> /dev/null 2>&1". --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 64f8627551..e5d5aca8fd 100644 --- a/Makefile +++ b/Makefile @@ -7,19 +7,19 @@ SUBDIRS = src progs default: $(TOP)/configs/current @for dir in $(SUBDIRS) ; do \ - (cd $$dir ; make) || exit 1 ; \ + (cd $$dir ; $(MAKE)) || exit 1 ; \ done clean: @for dir in $(SUBDIRS) ; do \ - (cd $$dir ; make clean) ; \ + (cd $$dir ; $(MAKE) clean) ; \ done realclean: touch $(TOP)/configs/current - make clean + $(MAKE) clean -rm -rf lib* -rm -f $(TOP)/configs/current @@ -101,7 +101,7 @@ sunos5-gcc \ sunos5-smp \ ultrix-gcc: (cd configs && rm -f current && ln -s $@ current) - make default + $(MAKE) default # Rules for making release tarballs -- cgit v1.2.3