28 lines
393 B
Makefile
28 lines
393 B
Makefile
.PHONY: build build-debug run clean default install
|
|
|
|
default: build
|
|
|
|
build:
|
|
meson build
|
|
ninja -C build
|
|
|
|
build-debug:
|
|
meson build --buildtype=debug
|
|
ninja -C build
|
|
|
|
install: build
|
|
ninja -C build install
|
|
|
|
run: build
|
|
./build/waybar
|
|
|
|
debug-run: build-debug
|
|
./build/waybar --log-level debug
|
|
|
|
test:
|
|
meson test -C build --no-rebuild --verbose --suite waybar
|
|
.PHONY: test
|
|
|
|
clean:
|
|
rm -rf build
|