Add Makefile to build C programs
authorColin McCabe <cmccabe@alumni.cmu.edu>
Mon, 15 Feb 2010 03:53:38 +0000 (19:53 -0800)
committerColin McCabe <cmccabe@alumni.cmu.edu>
Mon, 15 Feb 2010 03:53:38 +0000 (19:53 -0800)
Makefile [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..27e3efd
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,10 @@
+CFLAGS=-Wall -O2
+
+all:           errno_speak simple_time
+
+errno_speak:   errno_speak.o
+
+simple_time:   simple_time.o
+
+clean:
+       rm -rf errno_speak simple_time *.o