forked from OBPMark/OBPMark
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
54 lines (43 loc) · 957 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# OBPMark top-level Makefile
# For license information, see the LICENSE file in the top level folder.
# Author: David Steenari (ESA)
# Settings
include config/all.config
# Benchmarks to build
SUBDIRS := 1.1-image
SUBDIRS += 1.2-radar
SUBDIRS += 2.1-data_compression
SUBDIRS += 2.2-image_compression
#SUBDIRS += 2.3-hyperspectral_compression
SUBDIRS += 3.1-aes_encryption
#SUBDIRS += 4.1-dvbs2x_modulation
#SUBDIRS += 4.2-dvbs2x_demodulation
# Targets
.phony: all
all: cpu
cpu:
for dir in $(SUBDIRS); do \
$(MAKE) cpu -C src/$$dir; \
done
openmp:
for dir in $(SUBDIRS); do \
$(MAKE) openmp -C src/$$dir; \
done
opencl:
for dir in $(SUBDIRS); do \
$(MAKE) opencl -C src/$$dir; \
done
cuda:
for dir in $(SUBDIRS); do \
$(MAKE) cuda -C src/$$dir; \
done
hip:
for dir in $(SUBDIRS); do \
$(MAKE) hip -C src/$$dir; \
done
clean:
for dir in $(SUBDIRS); do \
$(MAKE) clean -C src/$$dir; \
done
rm -rf ./build
rm -rf ./bin