From 79a9f6ca6b7d2b7e3d032259dd1e124298bd845a Mon Sep 17 00:00:00 2001 From: Norayr Chilingarian Date: Thu, 31 Mar 2022 01:25:13 +0400 Subject: [PATCH] build statically, and install section. --- makefile_freebsd | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/makefile_freebsd b/makefile_freebsd index 509601d..8fd3b38 100644 --- a/makefile_freebsd +++ b/makefile_freebsd @@ -40,7 +40,7 @@ all: deps ../src/vpkResolver.Mod \ ../src/vpkJsonDepRetriever.Mod \ ../src/vpkInstaller.Mod \ - ../src/vipack.Mod -m + ../src/vipack.Mod -M deps: mkdir -p $(mkfile_dir_path)/$(DPS) @@ -50,6 +50,9 @@ deps: if [ -d $(DPS)/opts ]; then cd $(DPS)/opts; git pull; cd -; else cd $(DPS); git clone https://github.com/norayr/opts; cd -; fi if [ -d $(DPS)/time ]; then cd $(DPS)/time; git pull; cd -; else cd $(DPS); git clone https://github.com/norayr/time; cd -; fi +install: + cp $(mkfile_dir_path)/$(BLD)/vipack /usr/local/bin/ + tests: mkdir -p $(mkfile_dir_path)/$(BLD) cd $(mkfile_dir_path)/$(BLD)