Makefile doesn't need to init submodules anymore

This commit is contained in:
Mitchell Hashimoto
2023-10-07 14:55:31 -07:00
parent c708b5a384
commit 0aa44e7e9f

View File

@ -1,16 +1,7 @@
# Init initializes the repo for development.
init:
git submodule update --init --recursive
@echo You probably want to run "zig build" instead.
.PHONY: init
# Slightly cursed way that we setup a dev version of this locally on NixOS.
dev/install:
zig build -Dcpu=baseline -Doptimize=ReleaseFast
if [ -f "/etc/NIXOS" ]; then patchelf --set-rpath "${LD_LIBRARY_PATH}" zig-out/bin/ghostty; fi
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.
#