From ddce9b2d44ab48fc566870c5155b39c8fc06f24d Mon Sep 17 00:00:00 2001 From: Benedict Date: Tue, 21 Feb 2017 12:52:02 +0100 Subject: moved files of set1 into subdir --- set1/Makefile | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 set1/Makefile (limited to 'set1/Makefile') diff --git a/set1/Makefile b/set1/Makefile new file mode 100644 index 0000000..6c0f149 --- /dev/null +++ b/set1/Makefile @@ -0,0 +1,25 @@ +LIB=../lib/lib.c +CC=gcc +CFLAGS := -g -Wall $(CFLAGS) + +all: task1 task2 task4 task5 task6 task7 + +task1: + $(CC) $(CFLAGS) task1.c $(LIB) -o task1 + +task2: + $(CC) $(CFLAGS) task2.c $(LIB) -o task2 + +task4: + $(CC) $(CFLAGS) task4.c $(LIB) -o task4 + +task5: + $(CC) $(CFLAGS) task5.c $(LIB) -o task5 + +task6: + $(CC) $(CFLAGS) task6.c $(LIB) -o task6 + +task7: + $(CC) $(CFLAGS) task7.c `pkg-config --cflags --libs libcrypto` -o task7 +clean: + rm task1 task2 task4 task5 task6 task7 -- cgit v1.2.3-70-g09d2