CC = gcc
CFLAGS = -g -pthread

PROGRAMS = tentativa_padaria1 tentativa_padaria2 padaria \
prod-cons-basico \
prod-cons-basico-busy-wait prod-cons-basico-race        \
prod-cons-basico-atomic-inc \
ex0 ex1 ex2 \
prod-cons-basico-futex \
prod-cons-sem mult-prod-cons-sem \
cond_signal cond_signal_n


all: $(PROGRAMS)

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