From 27a1b8050d2170b40024fe82cb27088f3c676f26 Mon Sep 17 00:00:00 2001 From: Benedict Date: Mon, 21 Mar 2016 21:32:46 +0100 Subject: completed set2, challenge 10 --- set2/Makefile | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'set2/Makefile') diff --git a/set2/Makefile b/set2/Makefile index abbacc0..b0c56a2 100644 --- a/set2/Makefile +++ b/set2/Makefile @@ -1,10 +1,13 @@ -LIB=../lib/lib2.c +LIB=../lib/lib2.c ../lib/lib.c CC=gcc -CFLAGS := -g -Wall $(CFLAGS) +CFLAGS := -g $(CFLAGS) +CLIBS=`pkg-config --cflags --libs libcrypto` -all: task9 +all: task9 task10 task9: - $(CC) $(CFLAGS) task9.c $(LIB) -o task9 + $(CC) $(CFLAGS) task9.c $(LIB) $(CLIBS) -o task9 +task10: + $(CC) $(CFLAGS) task10.c $(LIB) $(CLIBS) -o task10 clean: - rm task9 + rm task9 task10 -- cgit v1.2.3-70-g09d2