From Genome Analysis Wiki
Jump to navigationJump to search
524 bytes added
, 16:21, 12 June 2015
Line 13: |
Line 13: |
| = Basic Idea = | | = Basic Idea = |
| | | |
− | A perl script is written to generate the make file, in this script, you may document the analyses and allow options to customize the variables in your analyses | + | The general format of a make file is as follows: |
| | | |
− | The general | + | <target> : <dependency> ... |
| + | <command 1> |
| + | <command 2> |
| + | |
| + | |
| + | The target is usually a small file that is created using "touch <target>". |
| + | It can be considered as a text and in this case, it is referred via "make <target>" |
| + | |
| + | The dependency(ies) are files. |
| + | |
| + | The commands are single line commands in linux. |
| + | The last command is the touch command usually. |
| + | This allows the creation of a file to signify that the prior commands were executed successfully. |
| + | |
| + | |
| + | A perl script is written to generate the make file, in this script, you may document the analyses and |
| + | allow options to customize the variables in your analyses. |
| | | |
| = Example = | | = Example = |