You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

16 lines
276 B

INSTALL := install
DESTDIR :=
keyexec: keyexec.c
$(CC) keyexec.c -o keyexec -lkeyutils
install: keyexec
$(INSTALL) -D -m 4711 keyexec $(DESTDIR)/usr/bin/keyexec
uninstall: $(DESTDIR)/usr/bin/keyexec
$(RM) $(DESTDIR)/usr/bin/keyexec
clean: keyexec
$(RM) keyexec