source: Makefile@ f2382aa

experimental
Last change on this file since f2382aa was 613d46b, checked in by George Boudreau <georgeb@…>, 18 years ago

Added new configuration tool.. <make> menuconfig. Needs work, especially inline help text

  • Property mode set to 100644
File size: 785 bytes
Line 
1# From the Build Scripts Written By: Jim Gifford <lfs@jg555.com>
2# Modified By: Joe Ciccone <jciccone@linuxfromscratch.org>
3
4TOPDIR=$(shell pwd)
5CONFIG_CONFIG_IN = Config.in
6CONFIG = menu
7
8all: menuconfig
9 @touch using_menuconfig
10 @`grep RUN_ME configuration | sed -e 's@RUN_ME=\"@@' -e 's@\"@@' ` || rm -f using_menuconfig
11 @rm -f using_menuconfig
12
13
14$(CONFIG)/conf:
15 $(MAKE) -C $(CONFIG) conf
16
17$(CONFIG)/mconf:
18 $(MAKE) -C $(CONFIG) ncurses conf mconf
19
20menuconfig: $(CONFIG)/mconf
21 @$(CONFIG)/mconf $(CONFIG_CONFIG_IN)
22
23config: $(CONFIG)/conf
24 @$(CONFIG)/conf $(CONFIG_CONFIG_IN)
25
26# Clean up
27
28clean:
29 rm -f configuration configuration.old error
30 - $(MAKE) -C $(CONFIG) clean
31
32clean-target:
33 rm -f error
34 - $(MAKE) -C $(CONFIG) clean
35
36.PHONY: all menuconfig config clean clean-target
Note: See TracBrowser for help on using the repository browser.