Added the uninstall target to the makefile
This commit is contained in:
parent
bed6fd3310
commit
2435e0d6b6
1 changed files with 4 additions and 1 deletions
5
Makefile
5
Makefile
|
@ -8,4 +8,7 @@ build: main.c
|
||||||
gcc $(FLAGS) -o $(NAME) $(FILES)
|
gcc $(FLAGS) -o $(NAME) $(FILES)
|
||||||
|
|
||||||
install:
|
install:
|
||||||
sudo cp $(NAME) $(INSTALL_DIR)$(NAME)
|
sudo cp $(NAME) $(INSTALL_DIR)$(NAME)
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
sudo rm $(INSTALL_DIR)$(NAME)
|
||||||
|
|
Loading…
Reference in a new issue