CC = gcc -std=c11 -pedantic -Wall -g -O all: pthread pthread_cond pthread_pipe pthread: pthread.c $(CC) -o pthread pthread.c -pthread pthread_cond: pthread_cond.c $(CC) -o pthread_cond pthread_cond.c -pthread pthread_pipe: pthread_pipe.c $(CC) -o pthread_pipe pthread_pipe.c -pthread clean: rm -f a.out core pthread pthread_cond pthread_pipe