Created
May 14, 2021 16:14
-
-
Save krissemicolon/594a5a10d02f7fa03918c4ea6d887ebc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.POSIX: | |
NAME= | |
EXT= | |
C= | |
$(NAME): src/*$(EXT) | |
$(C) src/*(EXT) -o $(NAME) | |
clean: | |
rm $(NAME) src/*.hi src/*.o | |
install: $(NAME) | |
mv $(NAME) /usr/local/bin | |
remove: /usr/local/bin/$(NAME) | |
rm /usr/local/bin/$(NAME) | |
.PHONY: $(NAME), clean, install, remove |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment