Skip to content

Commit c4b47fa

Browse files
committed
Proper Makefiles.
1 parent ada1f41 commit c4b47fa

File tree

4 files changed

+30
-0
lines changed

4 files changed

+30
-0
lines changed

P4_omp_parallel_simple/Makefile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
all: omp_parallel_simple.o
2+
3+
clean:
4+
rm -f *.o *.ll
5+
6+
%.o: %.c
7+
../dockerscript.sh clang-12 /host/$^ -O3 -Xclang -load -Xclang /Enzyme/enzyme/build/Enzyme/ClangEnzyme-12.so -ffast-math -fopenmp -o /host/$@
8+
9+
run-%: %.o
10+
../dockerscript.sh /host/$^

P5_omp_parallel_for/Makefile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
all: omp_parallel_for.o
2+
3+
clean:
4+
rm -f *.o *.ll
5+
6+
%.o: %.c
7+
../dockerscript.sh clang-12 /host/$^ -O3 -Xclang -load -Xclang /Enzyme/enzyme/build/Enzyme/ClangEnzyme-12.so -ffast-math -fopenmp -o /host/$@
8+
9+
run-%: %.o
10+
../dockerscript.sh /host/$^

P6_omp_parallel_for_nounroll/Makefile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
all: omp_parallel_for_nounroll.o
2+
3+
clean:
4+
rm -f *.o *.ll
5+
6+
%.o: %.c
7+
../dockerscript.sh clang-12 /host/$^ -O3 -Xclang -load -Xclang /Enzyme/enzyme/build/Enzyme/ClangEnzyme-12.so -ffast-math -fopenmp -o /host/$@
8+
9+
run-%: %.o
10+
../dockerscript.sh /host/$^

0 commit comments

Comments
 (0)