build statically, and install section.

This commit is contained in:
Norayr Chilingarian 2022-03-31 01:25:13 +04:00
parent e518663930
commit 79a9f6ca6b

View file

@ -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)