Files
absinthe/Makefile
T
2026-05-08 19:19:43 +07:00

15 lines
431 B
Makefile

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