File: Makefile

package info (click to toggle)
systemd-netlogd 1.4.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,108 kB
  • sloc: ansic: 14,053; makefile: 29; python: 20; sh: 13
file content (27 lines) | stat: -rw-r--r-- 426 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
all: build
	ninja -C build
.PHONY: all

build:
	meson setup build

clean:
	rm -rf build/
.PHONY: clean

install: build
	ninja -C build install
.PHONY: install

format:
	@for f in lib/*.[ch] tool/*.[ch]; do \
		echo $$f; \
		astyle --quiet --options=.astylerc $$f; \
	done
.PHONY: format

install-tree: build
	rm -rf build/install-tree
	DESTDIR=install-tree ninja -C build install
	tree build/install-tree
.PHONY: install-tree