diff options
| author | auric <104602845+ihateamongus@users.noreply.github.com> | 2025-09-08 23:33:06 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-08 23:33:06 -0500 |
| commit | 278f3e9054cf5d7b02e995a69653504242956874 (patch) | |
| tree | 09504609f77936891a0c48693b4192b3ce68b614 /core/slogin/Makefile | |
| parent | 81729ee885471cb2a2a532d47f3986e5294f0102 (diff) | |
| parent | bd96b9a5f1cb37786cc8d1e0c38d258b1f852184 (diff) | |
Merge pull request #22 from ihateamongus/codex/create-suckless-style-x11-login-manager
Add accent-aware X11 login manager
Diffstat (limited to 'core/slogin/Makefile')
| -rw-r--r-- | core/slogin/Makefile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/core/slogin/Makefile b/core/slogin/Makefile new file mode 100644 index 0000000..7026ffb --- /dev/null +++ b/core/slogin/Makefile @@ -0,0 +1,33 @@ +# slogin - simple login manager +# See LICENSE file for license details. + +include config.mk + +SRC = slogin.c +OBJ = ${SRC:.c=.o} + +all: slogin + +.c.o: + ${CC} -c ${CFLAGS} $< + +${OBJ}: config.h config.mk + +config.h: + cp config.def.h $@ + +slogin: ${OBJ} + ${CC} -o $@ ${OBJ} ${LDFLAGS} + +clean: + rm -f slogin ${OBJ} + +install: all + mkdir -p ${DESTDIR}${PREFIX}/bin + cp -f slogin ${DESTDIR}${PREFIX}/bin + chmod 755 ${DESTDIR}${PREFIX}/bin/slogin + +uninstall: + rm -f ${DESTDIR}${PREFIX}/bin/slogin + +.PHONY: all clean install uninstall |
