summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 9205e0bbaedf2867eea8c60ee89f23292bdc3997 (plain) (blame)
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

case-study:
	sed -i "s/LITMUS 0/LITMUS 1/g" extra.h
	$(MAKE) -C baseline all
	$(MAKE) -C dis baseline
	$(MAKE) -C SD-VBS/benchmarks compile

benchmarks:
	sed -i "s/LITMUS 1/LITMUS 0/g" extra.h
	#$(MAKE) -C baseline all
	#$(MAKE) -C all_pairs all
	#$(MAKE) -C dis pairs
	$(MAKE) -C SD-VBS/benchmarks CFLAGS=-DPAIRED compile


benches := svm mser sift texture_synthesis tracking disparity localization multi_ncut stitch
bench_path := SD-VBS/benchmarks
dag_path := SD-VBS/dag_binaries
single_suffix := _qcif_single
pair_suffix := _qcif_pair
dag-case-study:
	sed -i "s/LITMUS 0/LITMUS 1/g" extra.h
	$(MAKE) -C SD-VBS/benchmarks compile
	@for v in $(benches) ; do \
		# echo "$(dag_path)/$$v""$(single_suffix)"; \
        sudo cp $(bench_path)/$$v/data/qcif/$$v "$(dag_path)/$$v""$(single_suffix)"; \
    done
	$(MAKE) -C SD-VBS/benchmarks CFLAGS=-DPAIRED compile
	@for v in $(benches) ; do \
		# echo "$(dag_path)/$$v""$(pair_suffix)"; \
        sudo cp $(bench_path)/$$v/data/qcif/$$v "$(dag_path)/$$v""$(pair_suffix)"; \
    done