freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

make、編譯選項(xiàng)、連接問題(文件)

2025-06-25 13:35 上一頁面

下一頁面
 

【正文】 新目標(biāo)時(shí),會檢測其是否為’.PRECIOUS’的依賴,決定在命令出錯(cuò)或中斷時(shí)是否刪除該目標(biāo)。比如有一個(gè)子目錄’subdir’中有自己的makefile,希望make在自目錄中運(yùn)行,可以這樣做:subsystem: cd subdir。 (`touch39。 (`question39。這個(gè)特殊功能做了期望的工作。 傳遞變量到子make上級(toplevel)make中的變量可以顯式通過環(huán)境傳遞到子make中。一些shell不能處理有其它字符的環(huán)境變量。如果要輸出所有的變量,使用’export’指令本身就可以了。`m39。 Change to directory DIR before reading the makefiles. If multiple `C39。 (*note Recursive Use of `make39。 decides what to do.`e39。`makefile=FILE39。 understands and then exit.`i39。 Specifies a directory DIR to search for included makefiles. If several `I39。 runs as many jobs simultaneously as possible. If there is more than one `j39。`loadaverage[=LOAD]39。`dryrun39。`assumeold=FILE39。 then execute as usual or as otherwise specified. This also prints the version information given by the `v39。 Question mode. Do not run any mands, or print anything。 option also clears out the default list of suffixes for suffix rules .But you can still define your own suffixes with a rule for `.SUFFIXES39。 Silent operation。 Cancel the effect of the `k39。 via `MAKEFLAGS39。`touch39。 Print the version of the `make39。 Print a message containing the working directory both before and after executing the makefile. This may be useful for tracking down errors from plicated nests of recursive `make39。 is turned on automatically, but you do not want to see the extra messages. `W FILE39。 Pretend that the target FILE has just been modified. When used with the `n39。, except that the modification time is changed only in the imagination of `make39。`endef39。`ifeq A B39。B39。`ifneq 39。39。 Include another makefile.`override VARIABLE = VALUE39。`endef39。`export VARIABLE = VALUE39。 Tell `make39。 Directive: Selective Search.`vpath PATTERN39。 Replace FROM with TO in TEXT.`$(patsubst PATTERN,REPLACEMENT,TEXT)39。 Select words in TEXT that match one of the PATTERN words.`$(filterout PATTERN...,TEXT)39。 Extract the nondirectory part of each file name.`$(suffix NAMES...)39。 Append SUFFIX to each word in NAMES.`$(addprefix PREFIX,NAMES...)39。 Count the number of words in TEXT.`$(firstword NAMES...)39。 Execute a shell mand and return its output.`$(origin VARIABLE)39。 The file name of the target.`$%39。`$+39。 The stem with which an implicit rule matches `$(D)39。`$(*F)39。 The directory part and the filewithindirectory part of `$%39。`$(^D)39。`$(+F)39。 The directory part and the filewithindirectory part of `$?39。`$(?D)39。 The directory part and the filewithindirectory part of `$^39。`$(F)39。.`$(%D)39。 The directory part and the filewithindirectory part of `$39。 omits duplicate dependencies, while `$+39。 The name of the first dependency.`$?39。 variable VARIABLE was defined.`$(foreach VAR,WORDS,TEXT)39。 Find file names matching a shell file name pattern (*not* a `%39。 Join two parallel lists of words.`$(word N,TEXT)39。 and following characters) of each file name.`$(basename NAMES...)39。 Sort the words in LIST lexicographically, removing duplicates.`$(dir NAMES...)39。 Remove excess whitespace characters from STRING.`$(findstring FIND,TEXT)39。 Remove all search paths previously specified in any `vpath39。 Specify a search path for files matching a `%39。`export VARIABLE += VALUE39。 Tell `make39。`override VARIABLE += VALUE39。`endif39。 39。`ifneq (A,B)39。A39。`ifndef VARIABLE39。 Issue a warning message whenever `make39。, it is almost the same as running a `touch39。`newfile=FILE39。 Disable printing of the working directory under `w39。 then exit.`w39。. `v39。 in `MAKEFLAGS39。 where `k39。`nokeepgoing39。`silent39。`nobuiltinrules39。.`q39。`printdatabase39。 Print the mands that would be executed, but do not execute them.`o FILE39。 Specifies that no new jobs (mands) should be started if there are other jobs running and the load average is at least LOAD (a floatingpoint number). With no argument, removes a previous load limit. *Note Parallel Execution: Parallel.`n39。`keepgoing39。`jobs=[JOBS]39。 Ignore all errors in mands executed to remake files. `I DIR39。`help39。 Give variables taken from the environment precedence over variables from makefiles. *Note Variables from the Environment: Environment.`f FILE39。`debug39。 is equivalent to `C /etc39。.`C DIR39?!甅AKELEVEL’的用途是在條件指令中測試它,這樣寫出在遞歸運(yùn)行時(shí)和直接運(yùn)行時(shí)表現(xiàn)不同的makefile。Make自動通過’MAKEFLAGS’來輸出命令行定義的變量。為向下傳遞,或輸出變量,make在運(yùn)行命令時(shí)將其加入到環(huán)境變量中;子make,可以使用環(huán)境變量來初始化變量表。不管這些導(dǎo)致不會執(zhí)行命令的標(biāo)志,包含’MAKE’變量的命令始終會執(zhí)行。使用上例來考慮’make –t’命令(’t’選項(xiàng)將目標(biāo)標(biāo)記為最新但不運(yùn)行命令),更加’t’選項(xiàng)的功能,該命令將創(chuàng)建一個(gè)’subsystem’文件,實(shí)際希望的操作是運(yùn)行’cd subdir。 (`justprint39。 $(MAKE)該變量的值是被調(diào)用的make的名字。 遞歸使用遞歸使用make就是在makefile中使用make命令?!疌trlc’ kill了編譯器,留下一個(gè)不完整的文件,但它的修改時(shí)間比源文件’’新;此時(shí)make也受到’Ctrlc’信號刪除這個(gè)不完整的文件,如果make不這樣做,下次make運(yùn)行時(shí)認(rèn)為’’不需要更新,會在鏈接時(shí)出現(xiàn)奇怪的錯(cuò)誤。雖然你總是希望make這么做,但這不是過去的習(xí)慣;所以必須顯式要求make這樣做(其它的make自動這樣做)。通常認(rèn)為你的目的是更新指定的目標(biāo),當(dāng)make知道這是不可能時(shí),會立即報(bào)告失敗;’k’選項(xiàng)指示真正目的是測試更新程序的更多可能性:在編譯之前找出更多不相關(guān)的問題。如果make并未告知忽略錯(cuò)誤,在錯(cuò)誤發(fā)生時(shí),表明該目標(biāo)不能成功更新,直接或間接依賴于此的目標(biāo)當(dāng)然也不能成功;這些目標(biāo)的命令不會被執(zhí)行,因?yàn)槠湎葲Q條件不滿足。如果有錯(cuò)誤(返回非0狀態(tài)),make放棄當(dāng)前規(guī)則,也可能是所有規(guī)則。缺省的數(shù)量是一。 并行執(zhí)行GNU make可以一次執(zhí)行幾條命令。如果需要’cd’影響下一個(gè)命令,將它們放在一行上用分號隔開,這樣make認(rèn)為是一條命令傳遞給shell程序(注意:這需要shell支持):foo : bar/lose cd bar。這個(gè)選項(xiàng)對查看make實(shí)際要執(zhí)行的動作很有用。 回顯通常make打印出要執(zhí)行的命令,稱之為回顯,這和親自敲命令的現(xiàn)象是一樣的。因?yàn)椤?d’文件和其它文件一樣,不需要更多工作,make會在需要時(shí)重新生成它們。通常shell的返回值是管道中最后一條命令(sed)的返回值,這樣make不會注意到編譯器出錯(cuò)。\39。$(CC) M $(CPPFLAGS) $ \ | sed 39。使用GNU的make時(shí),重新生成makefile的功能使得這種做法變得過時(shí):從不需要顯式請求更新依賴關(guān)系,因?yàn)樗偸侵匦律扇魏芜^時(shí)的makefile。在程序比較大時(shí),需要寫許多這樣的規(guī)則;而且當(dāng)每次增刪’include’時(shí),必須小心的更新makefile。這種規(guī)則有時(shí)比較晦澀不是特別有用;它提供了一種機(jī)制:通過不同依賴文件的更新來對目標(biāo)進(jìn)行不同的處理,這種情形很罕見。 雙冒號規(guī)則雙冒號規(guī)則(Doublecolon rules)的目標(biāo)后是’::’而不是’:’,當(dāng)一個(gè)目標(biāo)出現(xiàn)在多條規(guī)則中時(shí),
點(diǎn)擊復(fù)制文檔內(nèi)容
教學(xué)教案相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1