Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

include config.mk

SRC = st.c
SRC = st.c xdg-shell-unstable-v6-protocol.c
OBJ = ${SRC:.c=.o}

all: options st
Expand All @@ -17,6 +17,16 @@ options:
config.h:
cp config.def.h config.h

xdg-shell-unstable-v6-protocol.c:
@echo GEN $@
@wayland-scanner code ${XDG_SHELL_PROTO} $@

xdg-shell-unstable-v6-client-protocol.h:
@echo GEN $@
@wayland-scanner client-header ${XDG_SHELL_PROTO} $@

st.o: xdg-shell-unstable-v6-client-protocol.h

.c.o:
@echo CC $<
@${CC} -c ${CFLAGS} $<
Expand Down
Loading