diff options
| author | Daniel Friesel <daniel.friesel@uos.de> | 2023-05-17 16:11:16 +0200 |
|---|---|---|
| committer | Daniel Friesel <daniel.friesel@uos.de> | 2023-05-17 16:11:16 +0200 |
| commit | 97ba6163d9609df945d6b2bd5ef9b3537f3f56ba (patch) | |
| tree | 7d667c7d5dfb085f654940dea94c14eff6755e05 /SCAN-SSA/Makefile | |
| parent | b40af5568dd555326748e1cd0193a2a767f7c959 (diff) | |
SCAN-SSA: Add OpenMP variant
Diffstat (limited to 'SCAN-SSA/Makefile')
| -rw-r--r-- | SCAN-SSA/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/SCAN-SSA/Makefile b/SCAN-SSA/Makefile index 00af65c..1ac9ecc 100644 --- a/SCAN-SSA/Makefile +++ b/SCAN-SSA/Makefile @@ -5,7 +5,8 @@ TYPE ?= INT64 ENERGY ?= 0 UNROLL ?= 1 -HOST_SOURCES := $(wildcard host/*.c) +HOST_SOURCES := $(wildcard host/app.c) +OMP_SOURCES := $(wildcard host/omp.c) DPU_SOURCES := $(wildcard dpu/*.c) COMMON_INCLUDES := support @@ -30,7 +31,10 @@ bin/dpu_code: ${DPU_SOURCES} bin/host_code: ${HOST_SOURCES} ${QUIET}${CC} ${HOST_FLAGS} ${HOST_SOURCES} -o $@ +bin/omp_code: ${OMP_SOURCES} + ${QUIET}${CC} ${HOST_FLAGS} -fopenmp ${OMP_SOURCES} -o $@ + clean: - ${QUIET}${RM} -f bin/dpu_code bin/host_code + ${QUIET}${RM} -f bin/dpu_code bin/host_code bin/omp_code .PHONY: all clean |
