Skip to content

Instantly share code, notes, and snippets.

@pyrsmk
Created November 26, 2020 16:30
Show Gist options
  • Save pyrsmk/8a476584dc4eb88a247b586955a982e1 to your computer and use it in GitHub Desktop.
Save pyrsmk/8a476584dc4eb88a247b586955a982e1 to your computer and use it in GitHub Desktop.
Current directory example in Makefile
current_dir := $(dir $(abspath $(firstword $(MAKEFILE_LIST))))
.PHONY=install
install:
ln -sf $(current_dir)config ~/.test/config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment