#COMP = g++ COMP = gcc #FLAGS = -Wall -g -std=c++0x FLAGS = -Wall -g all: lab2 lab2: lab2.c $(COMP) $(FLAGS) lab2.c -lpthread -o $@ clean: rm -f lab2 *.o