os_labs/lab13/Makefile

13 lines
367 B
Makefile
Raw Permalink Normal View History

2020-06-24 03:31:21 +10:00
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 *~