Wayland compositor (wlroots)
git clone https://git.lucas.co/cce-compositor.git
scenefx/tinywl/Makefile (416B)
1 PKG_CONFIG?=pkg-config
2
3 PKGS="scenefx-0.5" "wlroots-0.20" wayland-server xkbcommon
4 CFLAGS_PKG_CONFIG!=$(PKG_CONFIG) --cflags $(PKGS)
5 CFLAGS+=$(CFLAGS_PKG_CONFIG)
6 LIBS!=$(PKG_CONFIG) --libs $(PKGS)
7
8 all: tinywl
9
10 tinywl.o: tinywl.c
11 $(CC) -c $< -g -Werror $(CFLAGS) -I. -DWLR_USE_UNSTABLE -o $@
12 tinywl: tinywl.o
13 $(CC) $^ -g -Werror $(CFLAGS) $(LDFLAGS) $(LIBS) -o $@
14
15 clean:
16 rm -f tinywl tinywl.o
17
18 .PHONY: all clean