sus/Makefile
Slendi d8d42221f1
Re-write program and add support for /etc/sus.
Signed-off-by: Slendi <slendi@socopon.com>
2023-05-10 16:35:26 +03:00

24 lines
343 B
Makefile

build:
tcc -lcrypt 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