Added the uninstall target to the makefile

This commit is contained in:
Nereuxofficial 2021-03-05 12:03:09 +01:00 committed by GitHub
parent bed6fd3310
commit 2435e0d6b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,4 +8,7 @@ build: main.c
gcc $(FLAGS) -o $(NAME) $(FILES)
install:
sudo cp $(NAME) $(INSTALL_DIR)$(NAME)
sudo cp $(NAME) $(INSTALL_DIR)$(NAME)
uninstall:
sudo rm $(INSTALL_DIR)$(NAME)