diff options
| author | Mitchell Hashimoto <mitchell.hashimoto@gmail.com> | 2022-07-31 16:11:01 -0700 |
|---|---|---|
| committer | Mitchell Hashimoto <mitchell.hashimoto@gmail.com> | 2022-07-31 16:11:01 -0700 |
| commit | d614da2435f8b003e502faf6c9eba9804db79541 (patch) | |
| tree | 17d839b32e974a594b821a9a729b94b2d383b790 /Makefile | |
| parent | 9779b565bfa0b352fe8c13134246c88f818ea7ac (diff) | |
make dev/install to add a dev install
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -3,6 +3,14 @@ init: git submodule update --init --recursive .PHONY: init +# Slightly cursed way that we setup a dev version of this locally on NixOS. +dev/install: + zig build -Dcpu=baseline + patchelf --set-rpath "${LD_LIBRARY_PATH}" zig-out/bin/ghostty + mkdir -p ${HOME}/bin + cp zig-out/bin/ghostty ${HOME}/bin/devtty +.PHONY: dev/install + # glad updates the GLAD loader. To use this, place the generated glad.zip # in this directory next to the Makefile, remove vendor/glad and run this target. # |
