summaryrefslogtreecommitdiff
path: root/server/makefile
diff options
context:
space:
mode:
authorHannes Schulze <haschu0103@outlook.de>2026-03-03 16:43:56 +0100
committerHannes Schulze <haschu0103@outlook.de>2026-03-03 16:43:56 +0100
commitac696809b0c62f7f062a0dc155a4bf4a995cc9cf (patch)
treef66179841980d791a935e108c86a4cecf55144e3 /server/makefile
parent651c32bad4f336eee9cf423eec5f7b1057a58adf (diff)
display connect/disconnect
Diffstat (limited to 'server/makefile')
-rw-r--r--server/makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/server/makefile b/server/makefile
new file mode 100644
index 0000000..520636c
--- /dev/null
+++ b/server/makefile
@@ -0,0 +1,12 @@
+CC = clang
+CFLAGS = -std=c17 -pedantic -Wall -Werror $(shell pkg-config --libs --cflags wayland-server)
+
+.PHONY: all clean
+
+all: server
+
+clean:
+ rm -f server
+
+server: server.c
+ $(CC) $(CFLAGS) -o $@ $<