Rename to labwc

This commit is contained in:
Johan Malm 2019-11-19 21:03:43 +00:00
parent d18bd1a6d2
commit 62aa0163c0
3 changed files with 5 additions and 4 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
*.o
xdg-shell-protocol.*
labwc

View file

@ -1,4 +1,4 @@
CFLAGS += -g -O3 -Wall -std=c99 -I. -DWLR_USE_UNSTABLE
CFLAGS += -g -O3 -Wall -std=c11 -I. -DWLR_USE_UNSTABLE
CFLAGS += `pkg-config --cflags wlroots wayland-server xkbcommon`
CFLAGS += -Wextra -Wno-format-zero-length -Wold-style-definition -Woverflow \
-Wpointer-arith -Wstrict-prototypes -Wvla -Wunused-result \
@ -13,9 +13,9 @@ LDFLAGS += $(ASAN_FLAGS) -fuse-ld=gold
WP = `pkg-config --variable=pkgdatadir wayland-protocols`
WS = `pkg-config --variable=wayland_scanner wayland-scanner`
all: tinywl
all: labwc
tinywl: xdg-shell-protocol.o tinywl.o
labwc: xdg-shell-protocol.o main.o
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
xdg-shell-protocol.h:
@ -25,4 +25,4 @@ xdg-shell-protocol.c: xdg-shell-protocol.h
$(WS) private-code $(WP)/stable/xdg-shell/xdg-shell.xml $@
clean:
rm -f tinywl xdg-shell-protocol.* *.o
rm -f labwc xdg-shell-protocol.* *.o

View file