我对Windows系统上 GNU make 的shell函数感到困惑。这是我的示例Makefile:
make example 1
make example 2
仍然可以:
2016年3月22日星期二15:45:41
根据documentation of the shell function,dir p*
应该列出Makefile的内容。
这几乎是 的情况:
控制台上的X1:= X2:= X3:= X4:= example_1:@echo example_2:@echo example_3: @echo example_4:@echo
24.11.2015 18:17 47.814 plot.png
22.02.2016 16:53 58.039 Plot_1.png
13.01.2016 12:46 63.043 Plot_2.png
13.01.2016 12:47 62.913 Plot_3.png
16.01.2016 00:21 199 progetto46E.csv
5 File(s), 232.008 Bytes
0 Folder(s), 60.907.466.752 Bytes free
给出:
make example 3
但dir
找不到make example 4
。相反,dir p*
给几乎 ls
:
plot.png progetto46E.csv
但这是区分大小写的,只包含文件名。 dir
属于UNIX,不属于Windows,但差不多
相当于shell
。
是否有一个 GNU make 的功能在Windows系统上是什么 require_once ('lib/nusoap.php');
$server = new nusoap_server();
$server->configureWSDL("test", "urn:Test/", "http://localhost/testajout/server.php");
$server->wsdl->schemaTargetNamespace="http://localhost/testajout/server.php";
$server->soap_defencoding = 'utf-8';
//register of method
$server->wsdl->addComplexType(
'cordonne',
'complexType',
'struct',
'all',
'',
array(
'ID'=> array('name' => 'id', 'type' => 'xsd:int'),
'prenom'=> array('name' => 'prenom', 'type' => 'xsd:string'),
'lastname'=> array('name' => 'lastname', 'type' => 'xsd:string'),
'datedebut'=> array('name' => 'datedebut', 'type' => 'xsd:date'),
'solde'=> array('name' => 'solde', 'type' => 'xsd:decimal'),
'identifient'=> array('name' => 'identifient', 'type' => 'xsd:string'),
'photo' => array('name' => 'photo', 'type' => 'xsd:string'),
'fid'=> array('name' => 'fid', 'type' => 'xsd:int'),
'codebarre' => array('name' => 'codebarre', 'type' => 'xsd:string')
));
$server->register('InsertUser',array('cordonne'=>'tns:cordonne'),array('return' =>'xsd:string'));
function InsertUser($cordonne){
$cordonne=array();
$db1=new PDO('mysql:host=localhost;dbname=service','root','');
/* $req1 = $db1->prepare("SELECT * FROM myusers WHERE identifient =:identifient");
$req1->execute(array(':identifient' =>$identifient));
$count = $req1->rowCount();
if($count){
return "existe déja";
}else{*/
$id=$cordonne['id'];
$prenom = $cordonne['nom'];
$lastname = $cordonne['prenom'];
$datedebut = $cordonne['datedebut'];
$solde = $cordonne['solde'];
$login = $cordonne['identifient'];
$photo =$cordonne['photo'];
$fid=$cordonne['fid'];
$codebarre=$cordonne['codebarre'];
$req=$db1->prepare("insert into myusers values(:ID,:Prenom,:LastName,:dateDebut,:solde,:identifient,:photo,:fidelit,:CodeBarre)");
$req->execute(array(':ID'=>$id,':Prenom'=>$prenom,':LastName'=>$lastname,':dateDebut'=>date("Y-m-d", strtotime( $datedebut)),':solde'=>$solde,
':identifient'=>$login,':photo'=>$photo,':fidélit'=>$fid,':CodeBarre'=>$codebarre));
return "client ajouter";
}
在UNIX系统上做了什么?