sus/Makefile
2021-09-08 01:49:41 +03:00

24 lines
352 B
Makefile

build:
cc -Wall -lcrypt -I. sus.c -o sus
all: build install
clean:
rm -vrf sus
install:
ifneq ($(shell id -u), 0)
@echo "You must be root to perform this action."
else
cp sus /usr/bin/sus
chmod 4711 /usr/bin/sus
endif
uninstall: clean
ifneq ($(shell id -u), 0)
@echo "You must be root to perform this action."
else
rm -f /usr/bin/sus
endif