source:
BLFS/Makefile@
5a4f6a7
Last change on this file since 5a4f6a7 was 9c9775f, checked in by , 17 years ago | |
---|---|
|
|
File size: 831 bytes |
Rev | Line | |
---|---|---|
[0208570] | 1 | # From the Build Scripts Written By: Jim Gifford <lfs@jg555.com> |
2 | # Modified By: Joe Ciccone <jciccone@linuxfromscratch.org | |
3 | # Additional changes: George Boudreau <georgeb@linuxfromscratch.org> | |
4 | ||
[baea398] | 5 | # $Id$ |
6 | ||
[9c9775f] | 7 | LANG=C |
8 | LC_ALL=C | |
[0208570] | 9 | TOPDIR=$(shell pwd) |
[1f7e45f] | 10 | CONFIG_CONFIG_IN = Config.in |
[0208570] | 11 | CONFIG = menu |
12 | ||
[910206c] | 13 | all: menuconfig |
[0208570] | 14 | |
15 | $(CONFIG)/conf: | |
[9c9775f] | 16 | $(MAKE) -B -C $(CONFIG) conf |
[0208570] | 17 | |
18 | $(CONFIG)/mconf: | |
[9c9775f] | 19 | $(MAKE) -B -C $(CONFIG) ncurses conf mconf |
[0208570] | 20 | |
21 | menuconfig: $(CONFIG)/mconf | |
[1f7e45f] | 22 | @./update_book.sh none |
23 | @./gen_config.sh | |
[0208570] | 24 | @$(CONFIG)/mconf $(CONFIG_CONFIG_IN) |
[1f7e45f] | 25 | @./gen_pkg_book.sh |
[0208570] | 26 | |
27 | config: $(CONFIG)/conf | |
28 | @$(CONFIG)/conf $(CONFIG_CONFIG_IN) | |
29 | ||
30 | # Clean up | |
31 | ||
32 | clean: | |
33 | rm -f configuration configuration.old error | |
34 | - $(MAKE) -C $(CONFIG) clean | |
35 | ||
36 | clean-target: | |
37 | rm -f error | |
38 | - $(MAKE) -C $(CONFIG) clean | |
39 | ||
[9c9775f] | 40 | .PHONY: all menuconfig config clean clean-target $(CONFIG)/conf $(CONFIG)/mconf |
Note:
See TracBrowser
for help on using the repository browser.