Port to wayland using wld

This commit is contained in:
Michael Forney 2016-10-30 23:54:56 -07:00
parent 740ada1447
commit b5fbc92289
4 changed files with 1438 additions and 1416 deletions

View file

@ -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} $<