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