Ticket #1690: Makefile

File Makefile, 825 bytes (added by krichter, 10 years ago)

Makefile generated with make command

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