summaryrefslogtreecommitdiff
path: root/HST-S/baselines/cpu/Makefile
blob: 4405afc66a1aeba809d08bd423922d09bcae4713 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
all: hist

hist: app_baseline.c
	gcc -O2 -o hist -fopenmp app_baseline.c

hist_O0: app_baseline.c
	gcc -o hist_O0 -fopenmp app_baseline.c

hist_O2: app_baseline.c
	gcc -O2 -o hist_O2 -fopenmp app_baseline.c

run: hist
	./hist -i 1006632960 -t 4

run_O0: hist_O0
	./hist_O0 -i 1006632960 -t 4

run_O2: hist_O2
	./hist_O2 -i 1006632960 -t 4

clean:
	rm -f hist hist_O0 hist_O2

.PHONY: all run run_O0 run_O2 clean