mirror of https://github.com/t1meshift/os_labs.git
13 lines
367 B
Makefile
13 lines
367 B
Makefile
queue: queue.c utils.c utils.h
|
|
gcc -g -Wall queue.c utils.c -o queue -lpthread
|
|
|
|
queue_mutex: queue_mutex.c utils.c utils.h
|
|
gcc -g -Wall queue_mutex.c utils.c -o queue_mutex -lpthread
|
|
|
|
queue_cond: queue_cond.c utils.c utils.h
|
|
gcc -g -Wall queue_cond.c utils.c -o queue_cond -lpthread
|
|
|
|
all: queue queue_cond queue_mutex
|
|
|
|
clean:
|
|
rm -f queue queue_cond queue_mutex *~
|