cs2043 - unix tools & scripting lecture 16 make (and vcs)

24
CS2043 - Unix Tools & Scripting Lecture 16 Make (and VCS) Spring 2015 1 Instructor: Nicolas Savva February 27, 2015 1 based on slides by Hussam Abu-Libdeh, Bruno Abrahao and David Slater over the years (with additional material from software-carpentry) Instructor: Nicolas Savva CS2043 - Unix Tools & Scripting Lecture 16 Make (and VCS)

Upload: others

Post on 01-Jun-2022

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: CS2043 - Unix Tools & Scripting Lecture 16 Make (and VCS)

CS2043 - Unix Tools & ScriptingLecture 16

Make (and VCS)Spring 2015 1

Instructor: Nicolas Savva

February 27, 2015

1based on slides by Hussam Abu-Libdeh, Bruno Abrahao and David Slater over the years

(with additional material from software-carpentry)

Instructor: Nicolas Savva CS2043 - Unix Tools & Scripting Lecture 16 Make (and VCS)

Page 2: CS2043 - Unix Tools & Scripting Lecture 16 Make (and VCS)

Announcements

A4 is due tomorrow night

Instructor: Nicolas Savva CS2043 - Unix Tools & Scripting Lecture 16 Make (and VCS)

Page 3: CS2043 - Unix Tools & Scripting Lecture 16 Make (and VCS)

Automation. Why Make?

see software-carpentry: make *

Instructor: Nicolas Savva CS2043 - Unix Tools & Scripting Lecture 16 Make (and VCS)

Page 4: CS2043 - Unix Tools & Scripting Lecture 16 Make (and VCS)

GNU Make

manage compilation of programs written in languages like C

used to automatically update any set of files that depend onanother set of files

Makefile describes how files depend on each other, and how toupdate out-of-date files

makes use of patterns, rules, and variables to eliminateredundancy

uses macros to control operation

Instructor: Nicolas Savva CS2043 - Unix Tools & Scripting Lecture 16 Make (and VCS)

Page 5: CS2043 - Unix Tools & Scripting Lecture 16 Make (and VCS)
Page 6: CS2043 - Unix Tools & Scripting Lecture 16 Make (and VCS)
Page 7: CS2043 - Unix Tools & Scripting Lecture 16 Make (and VCS)
Page 8: CS2043 - Unix Tools & Scripting Lecture 16 Make (and VCS)
Page 9: CS2043 - Unix Tools & Scripting Lecture 16 Make (and VCS)
Page 10: CS2043 - Unix Tools & Scripting Lecture 16 Make (and VCS)
Page 11: CS2043 - Unix Tools & Scripting Lecture 16 Make (and VCS)
Page 12: CS2043 - Unix Tools & Scripting Lecture 16 Make (and VCS)
Page 13: CS2043 - Unix Tools & Scripting Lecture 16 Make (and VCS)
Page 14: CS2043 - Unix Tools & Scripting Lecture 16 Make (and VCS)
Page 15: CS2043 - Unix Tools & Scripting Lecture 16 Make (and VCS)
Page 16: CS2043 - Unix Tools & Scripting Lecture 16 Make (and VCS)
Page 17: CS2043 - Unix Tools & Scripting Lecture 16 Make (and VCS)
Page 18: CS2043 - Unix Tools & Scripting Lecture 16 Make (and VCS)
Page 19: CS2043 - Unix Tools & Scripting Lecture 16 Make (and VCS)
Page 20: CS2043 - Unix Tools & Scripting Lecture 16 Make (and VCS)
Page 21: CS2043 - Unix Tools & Scripting Lecture 16 Make (and VCS)
Page 22: CS2043 - Unix Tools & Scripting Lecture 16 Make (and VCS)
Page 23: CS2043 - Unix Tools & Scripting Lecture 16 Make (and VCS)

Overview: Version Control Systems (VCS)

Instructor: Nicolas Savva CS2043 - Unix Tools & Scripting Lecture 16 Make (and VCS)

Page 24: CS2043 - Unix Tools & Scripting Lecture 16 Make (and VCS)

Next Time

Instructor: Nicolas Savva CS2043 - Unix Tools & Scripting Lecture 16 Make (and VCS)