Waybar/Makefile

28 lines
405 B
Makefile
Raw Normal View History

.PHONY: build build-debug run clean default install
2018-12-27 23:56:47 +00:00
default: build
2018-12-27 23:56:47 +00:00
build:
2024-05-28 20:14:24 +00:00
meson setup build
2018-12-27 23:56:47 +00:00
ninja -C build
build-debug:
2024-05-28 20:14:24 +00:00
meson setup build --buildtype=debug
ninja -C build
install: build
ninja -C build install
2018-12-27 23:56:47 +00:00
run: build
./build/waybar
2021-09-17 23:20:16 +00:00
debug-run: build-debug
./build/waybar --log-level debug
2023-03-13 00:50:19 +00:00
test:
meson test -C build --no-rebuild --verbose --suite waybar
.PHONY: test
2018-12-27 23:56:47 +00:00
clean:
rm -rf build