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

PROGRAMS = ender ender-malloc \
           create0 join0 \
           create1 create2 create3 create4 \
           exit0 exit1 pthread_exit0 \
           return0 return1 pthread_return

all: $(PROGRAMS)

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