File: sample-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 (14 lines) | stat: -rw-r--r-- 301 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
SHELL := /bin/bash

.PHONY: all sample clean

all: sample-logsum

sample-logsum: ../include/logsum.hpp
	g++ -std=c++11 -O0 -g3 -ggdb -fno-eliminate-unused-debug-types -Wall -Wextra -pedantic -DSAMPLE_p7LOGSUM -x c++ $< -o $@

sample: sample-logsum
	./sample-logsum .5 .2

clean:
	rm -rf sample-logsum