XDG_CONFIG=$(HOME)/.config/ LN = @ln -sf .PHONY: go go: @go install golang.org/x/tools/gopls@latest @go install honnef.co/go/tools/cmd/staticcheck@latest @go install github.com/go-delve/delve/cmd/dlv@latest .PHONY: emacs emacs: go $(LN) $(PWD)/emacs $(XDG_CONFIG) $(LN) $(PWD)/aspell.en.pws $(HOME)/.aspell.en.pws .PHONY: setup setup: @git config --local user.email "franck@fcuny.net" @git config --local user.name "Franck Cuny" all: setup emacs