spkp

Stacking wayland compositor
git clone git://git.z3bra.org/spkp.git
Log | Files | Refs

commit 34f80fafd1d2f50e2f89b12e551475067b261e4e
parent f8c6fea6bb1813f6e180c792abbdccda07596d8f
Author: Willy Goiffon <dev@z3bra.org>
Date:   Sat, 14 Nov 2020 21:05:23 +0100

Rename compositor to SP:KP

Diffstat:
Mmakefile | 18+++++++++---------
Mmkfile | 17+++++++++--------
Rcompositor.c -> sp:kp.c | 0
3 files changed, 18 insertions(+), 17 deletions(-)

diff --git a/makefile b/makefile @@ -1,11 +1,11 @@ -include config.mk -all: compositor +all: sp\:kp -compositor: compositor.o - $(LD) $(LDFLAGS) compositor.o $(WL_LIBS) -o $@ +sp\:kp: sp\:kp.o + $(LD) $(LDFLAGS) sp:kp.o $(WL_LIBS) -o $@ -compositor.o: config.h xdg-shell-protocol.h +sp\:kp.o: config.h xdg-shell-protocol.h .c.o: $(CC) $(CPPFLAGS) $(CFLAGS) $(WL_CFLAGS) -c $< -o $@ @@ -16,12 +16,12 @@ xdg-shell-protocol.h: $(WL_PROTO)/stable/xdg-shell/xdg-shell.xml wayland-scanner server-header < $(WL_PROTO)/stable/xdg-shell/xdg-shell.xml > $@ clean: - rm -f compositor *.o + rm -f sp:kp *.o -install: compositor +install: sp\:kp mkdir -p $(DESTDIR)$(PREFIX)/bin - cp compositor $(DESTDIR)$(PREFIX)/bin/compositor - chmod 755 $(DESTDIR)$(PREFIX)/bin/compositor + cp sp:kp $(DESTDIR)$(PREFIX)/bin/sp:kp + chmod 755 $(DESTDIR)$(PREFIX)/bin/sp:kp uninstall: - rm $(DESTDIR)$(PREFIX)/bin/compositor + rm $(DESTDIR)$(PREFIX)/bin/sp:kp diff --git a/mkfile b/mkfile @@ -1,11 +1,11 @@ <config.mk -all:V: compositor +all:V: sp:kp -compositor: compositor.o +sp\:kp: sp:kp.o ${LD} ${LDFLAGS} $prereq ${WL_LIBS} -o $target -compositor.o: config.h xdg-shell-protocol.h +sp\:kp.o: config.h xdg-shell-protocol.h %.o: %.c ${CC} ${CPPFLAGS} ${CFLAGS} ${WL_CFLAGS} -c $stem.c -o $stem.o @@ -16,12 +16,13 @@ xdg-shell-protocol.h: ${WL_PROTO}/stable/xdg-shell/xdg-shell.xml wayland-scanner server-header < $prereq > $target clean:V: - rm -f compositor *.o + rm -f sp:kp *.o -install:V: compositor +install:V: sp:kp mkdir -p ${DESTDIR}${PREFIX}/bin - cp compositor ${DESTDIR}${PREFIX}/bin/compositor - chmod 755 ${DESTDIR}${PREFIX}/bin/compositor + cp sp:kp ${DESTDIR}${PREFIX}/bin/sp:kp + chmod 755 ${DESTDIR}${PREFIX}/bin/sp:kp + chmod ug+s ${DESTDIR}${PREFIX}/bin/sp:kp uninstall:V: - rm ${DESTDIR}${PREFIX}/bin/compositor + rm ${DESTDIR}${PREFIX}/bin/sp:kp diff --git a/compositor.c b/sp:kp.c