summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEric Andersen2000-07-20 21:57:11 +0000
committerEric Andersen2000-07-20 21:57:11 +0000
commit51154bacbe34d160f089c4ab4bbb51766030233d (patch)
treed4cc96083ccdfb95c031f92aacfb1b3f8c08dc97 /Makefile
parent3950596e1e13d3593d06ab3cf1e48a07d5bd80c9 (diff)
downloadbusybox-51154bacbe34d160f089c4ab4bbb51766030233d.zip
busybox-51154bacbe34d160f089c4ab4bbb51766030233d.tar.gz
Adjusted install.sh to use relative symlinks, and to optionally
create hardlinks. Added a makefile target to create hardlinks. -Erik
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index f4df9c7..a17225c 100644
--- a/Makefile
+++ b/Makefile
@@ -23,6 +23,9 @@ VERSION := 0.46
BUILDTIME := $(shell TZ=UTC date --utc "+%Y.%m.%d-%H:%M%z")
export VERSION
+# If you want a static binary, turn this on.
+DOSTATIC = false
+
# Set the following to `true' to make a debuggable build.
# Leave this set to `false' for production use.
# eg: `make DODEBUG=true tests'
@@ -37,9 +40,6 @@ DODEBUG = false
# Do not enable this for production builds...
DODMALLOC = false
-# If you want a static binary, turn this on.
-DOSTATIC = false
-
# If you are running a cross compiler, you may want to set this
# to something more interesting...
CROSS =
@@ -182,6 +182,9 @@ distclean: clean
install: busybox busybox.links
./install.sh $(PREFIX)
+install-hardlinks: busybox busybox.links
+ ./install.sh $(PREFIX) --hardlinks
+
dist release: distclean doc
cd ..; \
rm -rf busybox-$(VERSION); \