- grep -v ^\.PHONY < Makefile

+ busybox.def.h
  BB_FEATURE_TRIVIAL_HELP
+ uname.c has an example of how BB_FEATURE_TRIVIAL_HELP
  is to be applied.
This commit is contained in:
John Beppu
2000-04-17 17:49:44 +00:00
parent 5a50def0f4
commit 91e581fa04
4 changed files with 11 additions and 8 deletions

View File

@@ -96,7 +96,6 @@ ifdef BB_INIT_SCRIPT
endif
all: busybox busybox.links docs
.PHONY: all
busybox: $(OBJECTS)
$(CC) $(LDFLAGS) -o $@ $^ $(LIBRARIES)
@@ -111,26 +110,21 @@ busybox.links: busybox.def.h
regexp.o nfsmount.o: %.o: %.h
$(OBJECTS): %.o: busybox.def.h internal.h %.c
.PHONY: test tests
test tests:
cd tests && $(MAKE) all
.PHONY: clean
clean:
- rm -f busybox.links *~ *.o core
- rm -rf _install
- cd tests && $(MAKE) clean
.PHONY: distclean
distclean: clean
- rm -f busybox
- cd tests && $(MAKE) distclean
.PHONY: install
install: busybox busybox.links
./install.sh $(PREFIX)
.PHONY: dist release
dist release: distclean
$(MAKE) -C docs clean all
cd ..; \