--- a/Makefile Mon May 23 16:42:44 2011 +0200
+++ b/Makefile Mon May 23 16:43:13 2011 +0200
@@ -1,4 +1,8 @@
CC = gcc
+OBJ = cline.o v2.o
-cline: cline.c
- ${CC} -o cline -std=c99 cline.c
+cline: ${OBJ}
+ ${CC} -o cline ${OBJ}
+
+%.o: %.c
+ ${CC} -c -std=c99 $<