source: BLFS/Makefile@ 36e408e

2.3.x
Last change on this file since 36e408e was a069757, checked in by Manuel Canales Esparcia <manuel@…>, 17 years ago

BLFS: Be sure that the menu/mconf binary is rebuild each time.

  • Property mode set to 100644
File size: 815 bytes
RevLine 
[f4ed135]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# $Id$
6
7TOPDIR=$(shell pwd)
8CONFIG_CONFIG_IN = Config.in
9CONFIG = menu
10
11all: menuconfig
12
13$(CONFIG)/conf:
[a069757]14 $(MAKE) -B -C $(CONFIG) conf
[f4ed135]15
16$(CONFIG)/mconf:
[a069757]17 $(MAKE) -B -C $(CONFIG) ncurses conf mconf
[f4ed135]18
19menuconfig: $(CONFIG)/mconf
20 @./update_book.sh none
21 @./gen_config.sh
22 @$(CONFIG)/mconf $(CONFIG_CONFIG_IN)
23 @./gen_pkg_book.sh
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
[a069757]38.PHONY: all menuconfig config clean clean-target $(CONFIG)/conf $(CONFIG)/mconf
Note: See TracBrowser for help on using the repository browser.