File: benchmark-logsum.make

package info (click to toggle)
libhpptools 1.1.1-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 592 kB
  • sloc: cpp: 9,886; makefile: 9
file content (15 lines) | stat: -rw-r--r-- 315 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
SHELL := /bin/bash

.PHONY: all sample clean

all: benchmark-logsum

benchmark-logsum: ../include/logsum.hpp
	g++ -std=c++11 -O2 -Wall -Wextra -pedantic -DBENCHMARK_p7LOGSUM -x c++ ../include/logsum.hpp -o $@

run: benchmark-logsum
	./benchmark-logsum 42 0
	./benchmark-logsum 42 1

clean:
	rm -rf benchmark-logsum