diff options
| author | auric <104602845+ihateamongus@users.noreply.github.com> | 2025-09-08 21:02:18 -0500 |
|---|---|---|
| committer | auric <104602845+ihateamongus@users.noreply.github.com> | 2025-09-08 21:02:18 -0500 |
| commit | 9e10c2714cd159ce953155225cbe2ecc6810bd7f (patch) | |
| tree | 39cf7b7d40d3e9808e436cfa208bccd9a8c43208 /slogin/Makefile | |
| parent | d11aec86841f77edd6eba3e07aa1e7e591e9da2a (diff) | |
Add minimal X11 login manager and cleanup
Diffstat (limited to 'slogin/Makefile')
| -rw-r--r-- | slogin/Makefile | 16 |
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 |
