CC = gcc CFLAGS = -Wall -g -l pthread PROGRAMS = create_join\ return0 return1 pthread_return\ exit0 exit1 pthread_exit0\ pilha corrompe_pilha corrompe_pilha1\ pilhas corrompe_thread\ inesperada all: $(PROGRAMS) return0: gcc -g return0.c -o return0 return1: gcc -g return1.c -o return1 clean: rm -f *.o *~ *.aux *.log *.dvi $(PROGRAMS)