CXX = g++
OMPFLAGS = -fopenmp

all: pi

pi: omp_pi.cpp
	$(CXX) $(OMPFLAGS) $< -o $@

submit: pi
	qsub pi.pbs

clean:
	@rm -f pi *.o
