Port to wayland using wld
This commit is contained in:
parent
740ada1447
commit
b5fbc92289
4 changed files with 1438 additions and 1416 deletions
12
Makefile
12
Makefile
|
@ -3,7 +3,7 @@
|
|||
|
||||
include config.mk
|
||||
|
||||
SRC = st.c
|
||||
SRC = st.c xdg-shell-unstable-v5-protocol.c
|
||||
OBJ = ${SRC:.c=.o}
|
||||
|
||||
all: options st
|
||||
|
@ -17,6 +17,16 @@ options:
|
|||
config.h:
|
||||
cp config.def.h config.h
|
||||
|
||||
xdg-shell-unstable-v5-protocol.c:
|
||||
@echo GEN $@
|
||||
@wayland-scanner code ${XDG_SHELL_PROTO} $@
|
||||
|
||||
xdg-shell-unstable-v5-client-protocol.h:
|
||||
@echo GEN $@
|
||||
@wayland-scanner client-header ${XDG_SHELL_PROTO} $@
|
||||
|
||||
st.o: xdg-shell-unstable-v5-client-protocol.h
|
||||
|
||||
.c.o:
|
||||
@echo CC $<
|
||||
@${CC} -c ${CFLAGS} $<
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue