summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2004-06-01 00:06:14 +0000
committerEric Anholt <[email protected]>2004-06-01 00:06:14 +0000
commit2fb5d15ce38d8d298c4fbf8c0bb336154a314b13 (patch)
tree51f1626c3f3054216174bba640ecb5425ba80647 /Makefile
parentc1311d80bd0b2661581bb510c18780d7603cd014 (diff)
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".
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 64f86275514..e5d5aca8fd5 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