source: Makefile@ 8e3ccf7

2.3 2.3.x 2.4 ablfs ablfs-more legacy new_features trunk
Last change on this file since 8e3ccf7 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
Line 
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 @clear
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
22menuconfig: $(CONFIG)/mconf
23 @$(CONFIG)/mconf $(CONFIG_CONFIG_IN)
24
25config: $(CONFIG)/conf
26 @$(CONFIG)/conf $(CONFIG_CONFIG_IN)
27
28# Clean up
29
30clean:
31 rm -f configuration configuration.old error
32 - $(MAKE) -C $(CONFIG) clean
33
34clean-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.