File tree 4 files changed +2458
-0
lines changed
4 files changed +2458
-0
lines changed Original file line number Diff line number Diff line change
1
+ WL_SCANNER = /usr/local/bin/wayland-scanner
2
+ WLR_LAYER_SHELL = protocols/wlr-layer-shell-unstable-v1.xml
3
+ XDG_SHELL = /usr/local/share/wayland-protocols/stable/xdg-shell/xdg-shell.xml
4
+
5
+ CFLAGS += -I/usr/local/include/ -I/usr/local/include/pixman-1/ -I.
6
+ CFLAGS += -DWLR_USE_UNSTABLE
7
+
8
+ LDFLAGS = -L/usr/local/lib -lwayland-server -lwlroots -lxkbcommon
9
+
10
+ HEADERS = xdg-shell-protocol.h wlr-layer-shell-unstable-v1-protocol.h
11
+
12
+ all : ${HEADERS}
13
+ cc ${CFLAGS} -DSTAGE_DEV ${LDFLAGS} stage.c -o stage
14
+
15
+ prod : ${HEADERS}
16
+ cc ${CFLAGS} ${LDFLAGS} stage.c -o stage
17
+
18
+ xdg-shell-protocol.h :
19
+ ${WL_SCANNER} server-header ${XDG_SHELL} $@
20
+
21
+ wlr-layer-shell-unstable-v1-protocol.h :
22
+ ${WL_SCANNER} server-header ${WLR_LAYER_SHELL} $@
23
+
24
+ run :
25
+ ssh-agent ./stage
26
+
27
+ clean :
28
+ rm -f stage stage.o ${HEADERS}
Original file line number Diff line number Diff line change
1
+ # stage
You can’t perform that action at this time.
0 commit comments