Created
November 26, 2020 16:30
-
-
Save pyrsmk/8a476584dc4eb88a247b586955a982e1 to your computer and use it in GitHub Desktop.
Current directory example in Makefile
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
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