Automation and Make

栏目: IT技术 · 发布时间: 4年前

内容简介:Make is a tool which can run commands to read files, process these files in some way, and write out the processed files. For example, in software development, Make is used to compile source code into executable programs or libraries, but Make can also be u

Make is a tool which can run commands to read files, process these files in some way, and write out the processed files. For example, in software development, Make is used to compile source code into executable programs or libraries, but Make can also be used to:

  • run analysis scripts on raw data files to get data files that summarize the raw data;
  • run visualization scripts on data files to produce plots; and to
  • parse and combine text files and plots to create papers.

Make is called a build tool - it builds data files, plots, papers, programs or libraries. It can also update existing files if desired.

Make tracks the dependencies between the files it creates and the files used to create these. If one of the original files (e.g. a data file) is changed, then Make knows to recreate, or update, the files that depend upon this file (e.g. a plot).

There are now many build tools available, all of which are based on the same concepts as Make.

Prerequisites

In this lesson we use make from the Unix Shell. Some previous experience with using the shell to list directories, create, copy, remove and list files and directories, and run simple scripts is necessary.

Setup

In order to follow this lesson, you will need to download some files. Please follow instructions on thesetup page.

Schedule

Setup Download files required for the lesson
00:00 1.Introduction How can I make my results easier to reproduce?
00:25 2.Makefiles How do I write a simple Makefile?
01:05 3.Automatic Variables How can I abbreviate the rules in my Makefiles?
01:20 4. Dependencies on Data and Code How can I write a Makefile to update things when my scripts have changed rather than my input files?
01:40 5.Pattern Rules How can I define rules to operate on similar files?
01:50 6.Variables How can I eliminate redundancy in my Makefiles?
02:10 7.Functions How else can I eliminate redundancy in my Makefiles?
02:35 8. Self-Documenting Makefiles How should I document a Makefile?
02:45 9.Conclusion What are the advantages and disadvantages of using tools like Make?
03:20 Finish

The actual schedule may vary slightly depending on the topics and exercises chosen by the instructor.


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

算法设计与分析

算法设计与分析

陈慧南 / 电子工业出版社 / 2006-5 / 26.80元

《算法设计与分析:C++语言描述》内容分为3部分:算法和算法分析、算法设计策略及求解困难问题。第1部分介绍问题求解方法、算法复杂度和分析、递归算法和递推关系;第2部分讨论常用的算法设计策略:基本搜索和遍历方法、分治法、贪心法、动态规划法、回溯法和分枝限界法;第3部分介绍NP完全问题、随机算法、近似算法和密码算法。书中还介绍了两种新的数据结构:跳表和伸展树,以及它们特定的算法分析方法,并对现代密码学......一起来看看 《算法设计与分析》 这本书的介绍吧!

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具