Add install/uninstall

This commit is contained in:
-k 2022-03-23 16:04:10 -07:00
parent 5dc504dcd4
commit 4605194a83
No known key found for this signature in database
GPG Key ID: 98C677C84A2340C1

View File

@ -147,7 +147,11 @@ src/singeli/gen/%.c: src/singeli/src/%.singeli preSingeliBin
# dependency files
-include $(bd)/*.d
install:
cp -f BQN /usr/local/bin/bqn
uninstall:
rm -f /usr/local/bin/bqn
# `if` to allow `make clean` alone to clean everything, but `make t=debug clean` to just clean obj/debug
ifneq (,$(findstring clean,$(MAKECMDGOALS)))