help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

a problem about cat command used in a makefile


From: Shu Yanfeng
Subject: a problem about cat command used in a makefile
Date: Wed, 19 Oct 2005 18:28:14 +0800

Hi,

The related lines about cat command used in the makefile are as follows:

 

cat > $database/spec << EOF

## INFORMATION LOCATIONS

database                $database

include_file            $tlibdir/spec.expcoll

doc_loc                 $database/doc_loc

query_loc               $database/query_loc

qrels_text_file         $coll/qrels.text

 

EOF

 

When I make it, there is an error: missing separator (line 3, database ….); If I add ‘TAB’ before “database   $database”, there is an error: ‘database’ is not a command.

 

So what is the problem? Could you help me? Thank you very much!

 

Best regards,

Yanfeng

 

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]