include config.mk all: compile proto: $(WAYLAND_SCANNER) server-header $(WAYLAND_PROTOCOLS)/stable/xdg-shell/xdg-shell.xml xdg-shell-protocol.h $(WAYLAND_SCANNER) server-header ./protocols/wlr-layer-shell-unstable-v1.xml wlr-layer-shell-unstable-v1-protocol.h compile: proto $(CC) -o absinthe src/* $(CFLAGS) $(LDFLAGS) format: find src/ -type f | xargs $(CLANG_FORMAT) -i find include/ -type f | xargs $(CLANG_FORMAT) -i