all: cexam fexam CC=icc FC=ifort OMP=-openmp CEXES =atomic invertc private schedule singleSubsectionc sortc FEXES =commonInModMaintain2 withoutcrit singleSubsectionf \ commonMaintain invertf omp_fft sortf \ critical module withprivate withcrit task cexam: $(CEXES) fexam: $(FEXES) %:%.c $(CC) $(OMP) $< -o $@ %:%.f90 $(FC) $(OMP) $< -o $@ rm -f *mod task:task.f90 ifort -openmp -O3 -liompprof5 task.f90 -o task clean: rm -rf $(CEXES) $(FEXES) err.pbs out.pbs a.out tar: make clean tar --exclude .svn -cf openmp.tar *c *f90 *rpbs makefile index.html openmp.pdf