diff options
author | Christian Hesse <mail@eworm.de> | 2014-03-14 14:30:16 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2014-03-14 14:30:16 +0100 |
commit | fd3935d721a43141254f86864b195a6a6ceedd77 (patch) | |
tree | 018d4b00d0e03684480eb2f7dbd80b7bcd2a0d30 /udev/Makefile | |
parent | 68a220bd2148c9544bf946878304a826fceea54a (diff) | |
download | mkinitcpio-ykfde-fd3935d721a43141254f86864b195a6a6ceedd77.tar.gz mkinitcpio-ykfde-fd3935d721a43141254f86864b195a6a6ceedd77.tar.zst |
replace scripts with a C program
Diffstat (limited to 'udev/Makefile')
-rw-r--r-- | udev/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/udev/Makefile b/udev/Makefile new file mode 100644 index 0000000..ff4ed5a --- /dev/null +++ b/udev/Makefile @@ -0,0 +1,15 @@ +CC := gcc +INSTALL := install +RM := rm + +all: ykfde + +ykfde: ykfde.c + $(CC) $(FLAGS) -lykpers-1 -lyubikey -liniparser $(LDFLAGS) -o ykfde ykfde.c + +install: ykfde + $(INSTALL) -D -m0644 20-ykfde.rules $(DESTDIR)/usr/lib/initcpio/udev/20-ykfde.rules + $(INSTALL) -D -m0755 ykfde $(DESTDIR)/usr/lib/udev/ykfde + +clean: + $(RM) -f ykfde |