From 5d78a10379454946fa3fee8eb6513054f2266172 Mon Sep 17 00:00:00 2001 From: Sam Chudnick Date: Sat, 2 Jul 2022 16:03:15 -0400 Subject: Add simple Makefile --- pam/Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 pam/Makefile (limited to 'pam/Makefile') diff --git a/pam/Makefile b/pam/Makefile new file mode 100644 index 0000000..46c2cab --- /dev/null +++ b/pam/Makefile @@ -0,0 +1,14 @@ +all: pam_mfa + +pam_mfa: + gcc -fPIC -c pam_mfa.c + gcc -shared -o pam_mfa.so pam_mfa.o -lpam + +install: all + PAMDIR = /usr/lib/x86_64-linux-gnu/security/ + cp -f pam_mfa.so ${PAMDIR} + chmod 755 ${PAMDIR}/pam_mfa.so + +clean: + rm pam_mfa.so + rm pam_mfa.o -- cgit v1.2.3