diff options
author | kylo252 <59826753+kylo252@users.noreply.github.com> | 2021-09-20 00:53:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-19 15:53:48 -0700 |
commit | 39c886551bf8323b63938f5dee5beb650c61f02b (patch) | |
tree | 4353f6011cb9bb53e42ac65457cdd5beb3c1d55c /scripts/genvimvim.lua | |
parent | e61ea7772e5eab2d0460dae858698f16b0ee8f27 (diff) | |
download | rneovim-39c886551bf8323b63938f5dee5beb650c61f02b.tar.gz rneovim-39c886551bf8323b63938f5dee5beb650c61f02b.tar.bz2 rneovim-39c886551bf8323b63938f5dee5beb650c61f02b.zip |
refactor(Makefile): use built-in make commands #15708
Changes to the main Makefile:
- add `MAKEFILE_PATH` and `MAKEFILE_DIR` that are set with native commands
- add `NVIM_PRG`
- rename `BUILD_TYPE` to `CMAKE_GENERATOR` to align with CMake naming
- remove the misleading `BUILD_CMD` and use `BUILD_TOOL` instead
Add the following phony target to quickly test the changes
```make
debug-print:
@echo makefile path: $(MAKEFILE_PATH)
@echo makefile dir: $(MAKEFILE_DIR)
@echo build dir: $(BUILD_DIR)
@echo cmake generator tool: $(CMAKE_GENERATOR)
@echo build-tool: $(BUILD_TOOL)
@echo nvim-prg: $(NVIM_PRG)
```
Diffstat (limited to 'scripts/genvimvim.lua')
0 files changed, 0 insertions, 0 deletions