From 62aa0163c097eb761fd32a404ae7f966d6224f18 Mon Sep 17 00:00:00 2001 From: Johan Malm Date: Tue, 19 Nov 2019 21:03:43 +0000 Subject: [PATCH] Rename to labwc --- .gitignore | 1 + Makefile | 8 ++++---- tinywl.c => main.c | 0 3 files changed, 5 insertions(+), 4 deletions(-) rename tinywl.c => main.c (100%) diff --git a/.gitignore b/.gitignore index a4177df0..1c6cc66a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ *.o xdg-shell-protocol.* +labwc diff --git a/Makefile b/Makefile index 3613c78c..c48b359f 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/tinywl.c b/main.c similarity index 100% rename from tinywl.c rename to main.c