mirror of
https://github.com/0xdade/HackerStuff.git
synced 2025-10-29 16:59:27 +00:00
Makefile for pam_storepw
This commit is contained in:
parent
203791bef5
commit
8d3e5aaa2c
23
Get-Passwords/pam_storepw/Makefile
Normal file
23
Get-Passwords/pam_storepw/Makefile
Normal file
@ -0,0 +1,23 @@
|
||||
TITLE=pam_storepw
|
||||
|
||||
LIBSRC = $(TITLE).c
|
||||
LIBOBJ = $(TITLE).o
|
||||
LDLIBS = -lpam -lpam_misc
|
||||
LIBSHARED = $(TITLE).so
|
||||
|
||||
|
||||
####################### don't edit below #######################
|
||||
|
||||
all: $(LIBSHARED)
|
||||
|
||||
$(LIBSHARED): $(LIBOBJ)
|
||||
ld --shared -o $@ $(LIBOBJ) $(LDLIBS)
|
||||
|
||||
clean:
|
||||
rm -f $(LIBOBJ) $(LIBSHARED) core *~
|
||||
|
||||
extraclean: clean
|
||||
rm -f *.a *.o *.so *.bak
|
||||
|
||||
.c.o:
|
||||
$(CC) $(CFLAGS) -c $< -o $@
|
||||
Loading…
x
Reference in New Issue
Block a user