source: Makefile@ 31e78bd

2.3 2.3.x 2.4 ablfs ablfs-more legacy new_features trunk
Last change on this file since 31e78bd was a705708, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

Merged menuconfig code from experimental.
Added clfs2 symlink (required by menuconfig)

  • Property mode set to 100644
File size: 853 bytes
RevLine 
[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
5TOPDIR=$(shell pwd)
6CONFIG_CONFIG_IN = Config.in
7CONFIG = menu
8
9all: menuconfig
10 @touch using_menuconfig
11 @`grep RUN_ME configuration | sed -e 's@RUN_ME=\"@@' -e 's@\"@@' ` || rm -f using_menuconfig
12 @rm -f using_menuconfig
13
14
15$(CONFIG)/conf:
16 $(MAKE) -C $(CONFIG) conf
17
18$(CONFIG)/mconf:
19 $(MAKE) -C $(CONFIG) ncurses conf mconf
20
21menuconfig: $(CONFIG)/mconf
22 @$(CONFIG)/mconf $(CONFIG_CONFIG_IN)
23
24config: $(CONFIG)/conf
25 @$(CONFIG)/conf $(CONFIG_CONFIG_IN)
26
27# Clean up
28
29clean:
30 rm -f configuration configuration.old error
31 - $(MAKE) -C $(CONFIG) clean
32
33clean-target:
34 rm -f error
35 - $(MAKE) -C $(CONFIG) clean
36
37.PHONY: all menuconfig config clean clean-target
Note: See TracBrowser for help on using the repository browser.