source: Makefile@ 82bd7a6

2.4 ablfs-more legacy new_features trunk
Last change on this file since 82bd7a6 was 65c998b, checked in by Pierre Labastie <pierre@…>, 12 years ago

Add some logic to makefile and jhalfs, so that when exiting the configuration
menu without saving, you have the choice of exiting jhalfs

  • Property mode set to 100644
File size: 825 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 @`grep RUN_ME configuration | sed -e 's@RUN_ME=\"@@' -e 's@\"@@' `
12
13$(CONFIG)/conf:
14 $(MAKE) -C $(CONFIG) conf
15
16$(CONFIG)/mconf:
17 $(MAKE) -C $(CONFIG) ncurses conf mconf
18
19menuconfig: $(CONFIG)/mconf
20 -@cp -a configuration configuration.old
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.