summaryrefslogtreecommitdiff
path: root/set2/Makefile
blob: 1f8f890b7ab1cc1484e6ddca51fda71b2dd37f1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
LIB=../lib/lib2.c ../lib/lib.c
CC=gcc
CFLAGS := -g $(CFLAGS) 
CLIBS=`pkg-config --cflags --libs libcrypto`

all: task9 task10 task15

task9:
	$(CC) $(CFLAGS) task9.c $(LIB) $(CLIBS) -o task9
task10:
	$(CC) $(CFLAGS) task10.c $(LIB) $(CLIBS) -o task10
task15:
	$(CC) $(CFLAGS) task15.c $(LIB) $(CLIBS) -o task15
clean:
	rm task9 task10 task15