This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse the repository at this point in the history
Makefile: add 'clean_crystal' target (#4268)
It is useful in compiler development cycle. $ vim src/... # edit compiler sources (but incomplete) $ make crystal # oops! maked incompilable compiler... $ make crystal # failed because compiler does not work At such time I don't want to use `make clean` because it removes `libcrystal` and `llvmext` also. I don't want to build C++ files again, so I added `clean-crystal` target in Makefile. It removes the files built by `crystal` command. Now, we can use `make clean_crystal crystal` to recompile `crystal` after removing compiler itself.
- Loading branch information
Showing 1 changed file with 6 additions and 3 deletions.