Last active
July 31, 2019 11:28
-
-
Save estysdesu/78811f180674ca889b79c92d72421dc2 to your computer and use it in GitHub Desktop.
[Make: set shell and brace expansion] #gnu #make #makefile #braces #expansion #sh
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
# `bin/sh` may not point to bash; setting `SHELL:=$(shell which bash)` ensures brace expansion (bashism) will work | |
SHELL:=$(shell which bash) | |
DIR_:=$(shell pwd) | |
.PHONY: clean | |
clean: | |
@bash -c "rm -rf $(DIR_)/{.vscode,venv,__pycache__}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment