SE250:lab-9:rwan064:Makefile
Jump to navigation
Jump to search
<html> <head>
<title>Makefile</title>
</head> <body bgcolor="#ffffff" text="#000000">
<a name="line1"> 1</a> <font color="#444444"># Makefile for SE250 Lab 9 - Tokeniser</font> <a name="line2"> 2</a> <font color="#444444"># Author: Rajitha Wannigama</font> <a name="line3"> 3</a> <font color="8b2252"> <a name="line4"> 4</a> <strong>all</strong>:</font> bin/main.exe <a name="line5"> 5</a> <font color="8b2252"> <a name="line6"> 6</a> <strong>bin/main.exe</strong>:</font> src/main.c bin/tokenise.o bin/string.o bin/scanner.o <a name="line7"> 7</a> gcc -Wall src/main.c bin/tokenise.o bin/string.o bin/scanner.o -o bin/main.exe <a name="line8"> 8</a> <font color="8b2252"> <a name="line9"> 9</a> <strong>bin/tokenise.o</strong>:</font> src/tokenise.c src/tokenise.h <a name="line10">10</a> gcc -Wall -c src/tokenise.c -o bin/tokenise.o <a name="line11">11</a> <font color="8b2252"> <a name="line12">12</a> <strong>bin/string.o</strong>:</font> src/string.c src/string.h <a name="line13">13</a> gcc -Wall -c src/string.c -o bin/string.o <a name="line14">14</a> <font color="8b2252"> <a name="line15">15</a> <strong>bin/scanner.o</strong>:</font> src/scanner.c src/scanner.h <a name="line16">16</a> gcc -Wall -c src/scanner.c -o bin/scanner.o <a name="line17">17</a> <font color="8b2252"> <a name="line18">18</a> <strong>clean</strong>:</font> <a name="line19">19</a> rm -f bin/tokenise.o bin/main.exe bin/string.o
syntax highlighted by <a href="http://www.palfrader.org/code2html">Code2HTML</a>, v. 0.9.1
</body> </html>