aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index ddf356f19..678f19ea3 100644
--- a/Makefile
+++ b/Makefile
@@ -48,10 +48,9 @@ else
48 48
49endif 49endif
50 50
51ifndef $(prefix) 51ifndef $(PREFIX)
52 prefix=`pwd` 52 PREFIX=`pwd`/busybox_install
53endif 53endif
54BINDIR=$(prefix)
55 54
56LIBRARIES= 55LIBRARIES=
57OBJECTS=$(shell ./busybox.sh) 56OBJECTS=$(shell ./busybox.sh)
@@ -69,6 +68,7 @@ busybox.links:
69 68
70clean: 69clean:
71 - rm -f $(PROG) busybox.links *~ *.o core 70 - rm -f $(PROG) busybox.links *~ *.o core
71 - rm -rf busybox_install
72 72
73distclean: clean 73distclean: clean
74 - rm -f $(PROG) 74 - rm -f $(PROG)
@@ -77,8 +77,8 @@ force:
77 77
78$(OBJECTS): busybox.def.h internal.h Makefile 78$(OBJECTS): busybox.def.h internal.h Makefile
79 79
80install: $(PROG) 80install: busybox
81 install.sh $(BINDIR) 81 install.sh $(PREFIX)
82 82
83whichversion: 83whichversion:
84 @echo $(VERSION) 84 @echo $(VERSION)