CFLAGS = -Wall -g -std=gnu99 -lpthread CC = gcc EXECUTABLES = demo_pthread \ demo_system \ pthread10 \ demo_mutex all : ${EXECUTABLES} clean : @rm -f core *.o *.out *~ @rm -f ${EXECUTABLES}