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

all: task17 task18 task19 task20

task17:
	$(CC) $(CFLAGS) task17.c $(LIB) $(CLIBS) -o task17

task18:
	$(CC) $(CFLAGS) task18.c $(LIB) $(CLIBS) -o task18
task19:
	$(CC) $(CFLAGS) task19.c $(LIB) $(CLIBS) -o task19
task20:
	$(CC) $(CFLAGS) task20.c $(LIB) $(CLIBS) -o task20
clean:
	rm task17 task18 task19 task20