2.3
2.3.x
2.4
ablfs
ablfs-more
legacy
new_features
trunk
Last change
on this file since 0306777 was 401f81e, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago |
Ported Makefile clean-up and 0/1 to n/y migration code from experimental.
There is no obvious bugs, let users to find hidden bugs.
|
-
Property mode
set to
100644
|
File size:
861 bytes
|
Rev | Line | |
---|
[a705708] | 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 |
|
---|
| 5 | TOPDIR=$(shell pwd)
|
---|
| 6 | CONFIG_CONFIG_IN = Config.in
|
---|
| 7 | CONFIG = menu
|
---|
| 8 |
|
---|
| 9 | all: menuconfig
|
---|
[401f81e] | 10 | @clear
|
---|
[a705708] | 11 | @touch using_menuconfig
|
---|
| 12 | @`grep RUN_ME configuration | sed -e 's@RUN_ME=\"@@' -e 's@\"@@' ` || rm -f using_menuconfig
|
---|
| 13 | @rm -f using_menuconfig
|
---|
| 14 |
|
---|
| 15 |
|
---|
| 16 | $(CONFIG)/conf:
|
---|
| 17 | $(MAKE) -C $(CONFIG) conf
|
---|
| 18 |
|
---|
| 19 | $(CONFIG)/mconf:
|
---|
| 20 | $(MAKE) -C $(CONFIG) ncurses conf mconf
|
---|
| 21 |
|
---|
| 22 | menuconfig: $(CONFIG)/mconf
|
---|
| 23 | @$(CONFIG)/mconf $(CONFIG_CONFIG_IN)
|
---|
| 24 |
|
---|
| 25 | config: $(CONFIG)/conf
|
---|
| 26 | @$(CONFIG)/conf $(CONFIG_CONFIG_IN)
|
---|
| 27 |
|
---|
| 28 | # Clean up
|
---|
| 29 |
|
---|
| 30 | clean:
|
---|
| 31 | rm -f configuration configuration.old error
|
---|
| 32 | - $(MAKE) -C $(CONFIG) clean
|
---|
| 33 |
|
---|
| 34 | clean-target:
|
---|
| 35 | rm -f error
|
---|
| 36 | - $(MAKE) -C $(CONFIG) clean
|
---|
| 37 |
|
---|
| 38 | .PHONY: all menuconfig config clean clean-target
|
---|
Note:
See
TracBrowser
for help on using the repository browser.