mirror of
https://github.com/0xdade/HackerStuff.git
synced 2025-10-29 16:59:27 +00:00
24 lines
389 B
Makefile
24 lines
389 B
Makefile
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 $@
|