updated makefile

This commit is contained in:
cylgom 2017-08-20 14:59:59 +02:00
parent 97ee90d34d
commit f521202310
1 changed files with 3 additions and 3 deletions

View File

@ -1,14 +1,14 @@
ly :
build/ly :
mkdir -p ./build
cc -std=c99 -pedantic -Wall -I src -L/usr/lib/security -lform -lncurses -lpam -lpam_misc -lX11 -l:pam_loginuid.so -o build/ly src/main.c src/utils.c src/login.c src/ncui.c src/desktop.c
install : ly
install : build/ly
install -d ${DESTDIR}/etc/ly
install -D build/ly -t ${DESTDIR}/usr/bin
install -D ly.service -t ${DESTDIR}/usr/lib/systemd/system
ln -sf /usr/lib/security/pam_loginuid.so ${DESTDIR}/usr/lib/pam_loginuid.so
all : install
all : build/ly
clean :
rm -rf build/ly