rsudo/Makefile

17 lines
241 B
Makefile
Raw Normal View History

INSTALL_PREFIX = /usr/local/bin
CC = gcc
2017-12-02 05:43:22 +00:00
all: rsudo setuid
setuid: rsudo
chown root:root rsudo
chmod 4711 rsudo
.PHONY: all setuid
rsudo: rsudo.c
$(CC) -o ./rsudo rsudo.c
install: rsudo
install -Dm4711 rsudo $(INSTALL_PREFIX)/rsudo