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". --- src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index 8e9b8b9668..ffcddffec5 100644 --- a/src/Makefile +++ b/src/Makefile @@ -13,7 +13,7 @@ default: $(LIB_DIR) subdirs subdirs: @for dir in $(SUBDIRS) ; do \ if [ -d $$dir ] ; then \ - (cd $$dir ; make) || exit 1 ; \ + (cd $$dir ; $(MAKE)) || exit 1 ; \ fi \ done @@ -25,6 +25,6 @@ $(LIB_DIR): clean: @for dir in $(SUBDIRS) ; do \ if [ -d $$dir ] ; then \ - (cd $$dir ; make clean) ; \ + (cd $$dir ; $(MAKE) clean) ; \ fi \ done -- cgit v1.2.3