summaryrefslogtreecommitdiffstats
path: root/udev/Makefile
blob: ff4ed5ab7c2fea35779955b44268a86d1838a10f (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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