Makefile (234B)
1 CXX = g++ 2 CXXFLAGS = -O1 3 .PHONY: clean 4 5 all: with_omp without_omp 6 7 with_omp: omp_conditional.cpp 8 $(CXX) $(CXXFLAGS) -fopenmp -o $@ $< 9 10 without_omp: omp_conditional.cpp 11 $(CXX) $(CXXFLAGS) -o $@ $< 12 13 clean: 14 rm -f with_omp without_omp