CC = gcc
CFLAGS = -Wall -pedantic -g -l pthread

PROGRAMS = preemptivo inesperada \
           tentativa_lock \
           alternancia alternanciaN \
           interesse interesse2 interesse_vez \
           quase_dekker dekker \
           desempate

all: $(PROGRAMS)

clean:
	rm -f *.o *~ $(PROGRAMS)