TARGETS=thread_1 thread_2 all: $(TARGETS) % : %.cc gcc -std=c++11 $^ -lstdc++ -o $@ clean: rm $(TARGETS)