forked from remzi-arpacidusseau/ostep-homework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
22 lines (13 loc) · 720 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
BINARIES = main-two-cvs-while main-two-cvs-if main-one-cv-while main-two-cvs-while-extra-unlock
HEADERS = common.h common_threads.h main-header.h main-common.c pc-header.h
all: $(BINARIES)
clean:
rm -f $(BINARIES)
main-one-cv-while: main-one-cv-while.c $(HEADERS)
gcc -o main-one-cv-while main-one-cv-while.c -Wall -pthread
main-two-cvs-if: main-two-cvs-if.c $(HEADERS)
gcc -o main-two-cvs-if main-two-cvs-if.c -Wall -pthread
main-two-cvs-while: main-two-cvs-while.c $(HEADERS)
gcc -o main-two-cvs-while main-two-cvs-while.c -Wall -pthread
main-two-cvs-while-extra-unlock: main-two-cvs-while-extra-unlock.c $(HEADERS)
gcc -o main-two-cvs-while-extra-unlock main-two-cvs-while-extra-unlock.c -Wall -pthread