-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
25 lines (17 loc) · 821 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
all: message_queue test_pipe_size_with_nonblock pipe pipe_sync shm_cli shm_ser pipe_writer_block
message_queue: message_queue.c
clang -o message_queue message_queue.c -Wall -pthread -lrt
test_pipe_size_with_nonblock: test_pipe_size_with_nonblock.c
clang -o test_pipe_size_with_nonblock test_pipe_size_with_nonblock.c -Wall -pthread -lrt
pipe: pipe.c
clang -o pipe pipe.c -Wall -pthread -lrt
pipe_sync: pipe_sync.c
clang -o pipe_sync pipe_sync.c -Wall -pthread -lrt
shm_cli: shm_cli.c
clang -o shm_cli shm_cli.c -Wall -pthread -lrt
shm_ser: shm_ser.c
clang -o shm_ser shm_ser.c -Wall -pthread -lrt
pipe_writer_block: pipe_writer_block.c
clang -o pipe_writer_block pipe_writer_block.c -Wall -pthread -lrt
clean:
rm message_queue test_pipe_size_with_nonblock pipe pipe_sync shm_cli shm_ser pipe_writer_block