File: sample-pfor.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-- 289 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-pfor

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

sample: sample-pfor
	./sample-pfor

clean:
	rm -rf sample-pfor