Last change
on this file since 2634 was 2591, checked in by bird, 13 years ago |
kmk: Merged in changes from GNU make 3.82. Previous GNU make base version was gnumake-2008-10-28-CVS.
|
-
Property svn:eol-style
set to
LF
|
File size:
473 bytes
|
Line | |
---|
1 | # -*-perl-*-
|
---|
2 |
|
---|
3 | $description = "Test proper behavior of the MAKE variable";
|
---|
4 |
|
---|
5 | $details = "DETAILS";
|
---|
6 |
|
---|
7 | run_make_test(q!
|
---|
8 | TMP := $(MAKE)
|
---|
9 | MAKE := $(subst X=$(X),,$(MAKE))
|
---|
10 | all:
|
---|
11 | @echo $(TMP)
|
---|
12 | $(MAKE) -f #MAKEFILE# foo
|
---|
13 |
|
---|
14 | foo:
|
---|
15 | @echo $(MAKE)
|
---|
16 | !,
|
---|
17 | '',
|
---|
18 | "#MAKEPATH#\n#MAKEPATH# -f #MAKEFILE# foo\n"
|
---|
19 | . "#MAKE#[1]: Entering directory `#PWD#'\n"
|
---|
20 | . "#MAKEPATH#\n#MAKE#[1]: Leaving directory `#PWD#'\n");
|
---|
21 |
|
---|
22 | rmfiles("foo");
|
---|
23 |
|
---|
24 | 1;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.