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

all: task9 task10 task11 task12 task13 task15

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