aboutsummaryrefslogtreecommitdiffstats
path: root/udev/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'udev/Makefile')
-rw-r--r--udev/Makefile15
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