CC = gcc CFLAGS = -Wall -pedantic -g -l pthread PROGRAMS = preemptivo inesperada \ tentativa_lock \ alternancia alternanciaN \ interesse interesse2 interesse_vez \ quase_dekker dekker all: $(PROGRAMS) clean: rm -f *.o *~ *.aux *.log *.dvi $(PROGRAMS)