Skip to content

Commit 2c2cdef

Browse files
committedApr 5, 2022
initial import
0 parents  commit 2c2cdef

File tree

4 files changed

+2458
-0
lines changed

4 files changed

+2458
-0
lines changed
 

‎Makefile

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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}

‎README.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# stage

0 commit comments

Comments
 (0)
Please sign in to comment.