GIT := git REPO := www.j8takagi.net:/home/git .PHONY: gitorigin gitpush gitorigin-clean gitpush: $(GIT) push --set-upstream origin master gitorigin: $(GIT) remote add origin $(REPO)/$(notdir $(CURDIR)).git gitorigin-clean: $(GIT) remote remove origin