summaryrefslogtreecommitdiff
path: root/slogin/Makefile
diff options
context:
space:
mode:
authorauric <104602845+ihateamongus@users.noreply.github.com>2025-09-08 21:08:47 -0500
committerGitHub <noreply@github.com>2025-09-08 21:08:47 -0500
commit9835e81684ffb53cb258c7de754998621661c15f (patch)
tree9c2b8e58b02ef1ae1440dd40101a7736d090fccc /slogin/Makefile
parente2ec2e4acbf07da282c7ce4d4370ed1a83e11e70 (diff)
parent04cfeeb799b4ee6ac990e5d6e1b5302251133d77 (diff)
Merge pull request #18 from ihateamongus/codex/add-staggering-color-effect-demo-in-tools
Add color staggering demo and minimal login manager
Diffstat (limited to 'slogin/Makefile')
-rw-r--r--slogin/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/slogin/Makefile b/slogin/Makefile
new file mode 100644
index 0000000..4d8c919
--- /dev/null
+++ b/slogin/Makefile
@@ -0,0 +1,16 @@
+CC = cc
+CFLAGS = -std=c99 -Wall -Wextra -pedantic -Os
+LDFLAGS = -lX11 -lcrypt
+PREFIX ?= /usr/local
+
+all: slogin
+
+slogin: slogin.c
+ $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
+
+clean:
+ rm -f slogin
+
+install: slogin
+ mkdir -p $(DESTDIR)$(PREFIX)/bin
+ cp -f slogin $(DESTDIR)$(PREFIX)/bin