2018-12-28 14:37:07 +00:00
|
|
|
.PHONY: build build-debug run clean default install
|
2018-12-27 23:56:47 +00:00
|
|
|
|
2020-03-14 20:25:33 +00:00
|
|
|
default: build
|
2018-12-27 23:56:47 +00:00
|
|
|
|
|
|
|
build:
|
|
|
|
meson build
|
|
|
|
ninja -C build
|
|
|
|
|
2018-12-28 14:37:07 +00:00
|
|
|
build-debug:
|
|
|
|
meson 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-09 18:05:18 +00:00
|
|
|
debug-run: build
|
|
|
|
./build/waybar --log-level debug
|
|
|
|
|
2018-12-27 23:56:47 +00:00
|
|
|
clean:
|
|
|
|
rm -rf build
|