diff options
Diffstat (limited to 'MLP/baselines')
-rw-r--r-- | MLP/baselines/cpu/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/MLP/baselines/cpu/Makefile b/MLP/baselines/cpu/Makefile index e2e6780..3404638 100644 --- a/MLP/baselines/cpu/Makefile +++ b/MLP/baselines/cpu/Makefile @@ -1,7 +1,7 @@ all: mlp_openmp mlp_openmp: mlp_openmp.c - gcc -O2 mlp_openmp.c -o mlp_openmp -fopenmp -std=c99 + gcc -Wall -Wextra -pedantic -march=native -O2 mlp_openmp.c -o mlp_openmp -fopenmp -std=c99 mlp_openmp_O0: mlp_openmp.c gcc mlp_openmp.c -o mlp_openmp_O0 -fopenmp -std=c99 @@ -18,4 +18,7 @@ run_O0: mlp_openmp_O0 run_O2: mlp_openmp_O2 ./mlp_openmp_O2 -.PHONY: all run run_O0 run_O2 +clean: + rm -f mlp_openmp mlp_openmp_O0 mlp_openmp_O2 + +.PHONY: all run run_O0 run_O2 clean |