File: sample-alg.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-- 273 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-alg

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

sample: sample-alg
	./sample-alg

clean:
	rm -rf sample-alg