File: sample-logger.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-- 332 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: sample-logger

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

sample: sample-logger
	./sample-logger info
	./sample-logger info alt:debug1

clean:
	rm -rf sample-logger