VirtualBox

source: kBuild/vendor/gnumake/current/tests/scripts/variables/MAKE

最後變更 在這個檔案是 3138,由 bird 提交於 7 年 前

Imported make 4.2.1 (2e55f5e4abdc0e38c1d64be703b446695e70b3b6) from https://git.savannah.gnu.org/git/make.git.

  • 屬性 svn:eol-style 設為 LF
檔案大小: 473 位元組
 
1# -*-perl-*-
2
3$description = "Test proper behavior of the MAKE variable";
4
5$details = "DETAILS";
6
7run_make_test(q!
8TMP := $(MAKE)
9MAKE := $(subst X=$(X),,$(MAKE))
10all:
11 @echo $(TMP)
12 $(MAKE) -f #MAKEFILE# foo
13
14foo:
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
22rmfiles("foo");
23
241;
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette