diff options
| author | Benedict <benedict@0xb8000.de> | 2016-03-21 21:32:46 +0100 |
|---|---|---|
| committer | Benedict <benedict@0xb8000.de> | 2017-02-21 13:00:25 +0100 |
| commit | 27a1b8050d2170b40024fe82cb27088f3c676f26 (patch) | |
| tree | c27966b7aeb1e4eb4fe889e6b7fc9a6cd68a5b17 /set2/Makefile | |
| parent | 95b1e82c4fca864600108d4e36ceadbb290a76f3 (diff) | |
completed set2, challenge 10
Diffstat (limited to 'set2/Makefile')
| -rw-r--r-- | set2/Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
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 |
