From 14e3b0e4f801f6fdbd6be941a2022e4e665d88eb Mon Sep 17 00:00:00 2001 From: Benedict Date: Fri, 4 Mar 2016 12:45:40 +0100 Subject: fxied api change in other tasks --- Makefile | 4 ++-- task4.c | 2 +- task5.c | 2 +- task6.c | 46 ++++++++++++++++++++++++++++++++++++++-------- 4 files changed, 42 insertions(+), 12 deletions(-) diff --git a/Makefile b/Makefile index 69b8615..cb8173b 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ LIB=lib.c CC=gcc -all: task1 task4 task5 task6 +all: task1 task2 task4 task5 task6 task1: $(CC) task1.c $(LIB) -o task1 @@ -19,4 +19,4 @@ task6: $(CC) task6.c $(LIB) -o task6 clean: - rm task4 task5 task6 + rm task1 task2 task4 task5 task6 diff --git a/task4.c b/task4.c index fe812ab..a1b7b28 100644 --- a/task4.c +++ b/task4.c @@ -29,7 +29,7 @@ void main() { printf("line %i:\n", line_number); for(j=0;j