From bd7b98c2aac8fdfd128aff832c663d60d3374d63 Mon Sep 17 00:00:00 2001 From: Benedict Date: Thu, 3 Mar 2016 21:49:01 +0100 Subject: reorgantzied code into libaray file For every task you may create a new file and implenet the task there by using functions from the lib.c file. Added Makefile for the different tasks. --- Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..5e5d683 --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +LIB=lib.c +CC=gcc + +all: task4 task5 task6 + +task4: + $(CC) task4.c $(LIB) -o task4 + +task5: + $(CC) task5.c $(LIB) -o task5 + +task6: + $(CC) task6.c $(LIB) -o task6 + +clean: + rm task4 task5 task6 -- cgit v1.2.3-70-g09d2