This repository has been archived on 2022-10-18. You can view files and clone it, but cannot push or open issues or pull requests.
HPC/Project2/Project2-code/bugs/makefile

23 lines
368 B
Makefile
Raw Permalink Normal View History

2022-10-18 12:39:50 +00:00
CFLAGS = -g -O3 -fopenmp
all: omp_bug1 omp_bug2 omp_bug3 omp_bug4 omp_bug5
omp_bug1: omp_bug1.c
gcc $(CFLAGS) $< -o $@
omp_bug2: omp_bug2.c
gcc $(CFLAGS) $< -o $@
omp_bug3: omp_bug3.c
gcc $(CFLAGS) $< -o $@
omp_bug4: omp_bug4.c
gcc $(CFLAGS) $< -o $@
omp_bug5: omp_bug5.c
gcc $(CFLAGS) $< -o $@
clean:
rm -rf omp_bug1 omp_bug2 omp_bug3 omp_bug4 omp_bug5