Skip to content

Instantly share code, notes, and snippets.

@mimikun
Created December 18, 2020 17:11
Show Gist options
  • Save mimikun/de7e0730cd795f8965e6d714a322963c to your computer and use it in GitHub Desktop.
Save mimikun/de7e0730cd795f8965e6d714a322963c to your computer and use it in GitHub Desktop.
make cleanでMakefile以外を消すやつ
.PHONY: clean
clean:
@ls | grep -v -E "^Makefile" | xargs rm -rf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment