diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -96,7 +96,6 @@ ifdef BB_INIT_SCRIPT | |||
96 | endif | 96 | endif |
97 | 97 | ||
98 | all: busybox busybox.links docs | 98 | all: busybox busybox.links docs |
99 | .PHONY: all | ||
100 | 99 | ||
101 | busybox: $(OBJECTS) | 100 | busybox: $(OBJECTS) |
102 | $(CC) $(LDFLAGS) -o $@ $^ $(LIBRARIES) | 101 | $(CC) $(LDFLAGS) -o $@ $^ $(LIBRARIES) |
@@ -111,26 +110,21 @@ busybox.links: busybox.def.h | |||
111 | regexp.o nfsmount.o: %.o: %.h | 110 | regexp.o nfsmount.o: %.o: %.h |
112 | $(OBJECTS): %.o: busybox.def.h internal.h %.c | 111 | $(OBJECTS): %.o: busybox.def.h internal.h %.c |
113 | 112 | ||
114 | .PHONY: test tests | ||
115 | test tests: | 113 | test tests: |
116 | cd tests && $(MAKE) all | 114 | cd tests && $(MAKE) all |
117 | 115 | ||
118 | .PHONY: clean | ||
119 | clean: | 116 | clean: |
120 | - rm -f busybox.links *~ *.o core | 117 | - rm -f busybox.links *~ *.o core |
121 | - rm -rf _install | 118 | - rm -rf _install |
122 | - cd tests && $(MAKE) clean | 119 | - cd tests && $(MAKE) clean |
123 | 120 | ||
124 | .PHONY: distclean | ||
125 | distclean: clean | 121 | distclean: clean |
126 | - rm -f busybox | 122 | - rm -f busybox |
127 | - cd tests && $(MAKE) distclean | 123 | - cd tests && $(MAKE) distclean |
128 | 124 | ||
129 | .PHONY: install | ||
130 | install: busybox busybox.links | 125 | install: busybox busybox.links |
131 | ./install.sh $(PREFIX) | 126 | ./install.sh $(PREFIX) |
132 | 127 | ||
133 | .PHONY: dist release | ||
134 | dist release: distclean | 128 | dist release: distclean |
135 | $(MAKE) -C docs clean all | 129 | $(MAKE) -C docs clean all |
136 | cd ..; \ | 130 | cd ..; \ |