In this lab, we'll iteratively develop a Makefile for building assignment 4 quickly and easily.
Makefile.1
: Getting started with MakefilesMakefile.2
: Suppressing command echoingMakefile.3
: Basic Makefile to runm4
onasn4.m
to produceasn4.s
Makefile.4
: Ignoring errorsMakefile.5
: A simple Makefile to build assignment 4 (withoutmyfadd
)Makefile.6
: Oops.. we forgot to includestringio.s
Makefile.7
: Oops.. we forgot to includeiofunc.o
Makefile.8
: Adding aclean
targetMakefile.9
: Ignoring errors in theclean
targetMakefile.10
: Adding arealclean
targetMakefile.11
: Introducing macros
Makefile.12
: Adding inmyfadd.m
Makefile.13
: Introducing a few special macrosMakefile.14
: Inference rulesMakefile.15
: Using inference rules to build assignment 4Makefile.16
: A commented, (mostly) finished Makefile to build assignment 4 (what's missing?)Makefile.17
: Adding adebug
targetMakefile.18
: Getting a little DRY-er