Skip to content

Commit

Permalink
Change back to static linking libvoc-O2.so
Browse files Browse the repository at this point in the history
  • Loading branch information
kfv committed May 10, 2022
1 parent 24b021c commit 5856e9c
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,20 @@ PACKAGES=github.com/norayr/lists github.com/norayr/time github.com/norayr/skprLo
all: get_deps build_deps

get_deps:
mkdir -p $(mkfile_dir_path)/$(DPS)
if [ -d $(DPS)/lists ]; then cd $(DPS)/lists; git pull; cd -; else cd $(DPS); git clone https://github.com/norayr/lists; 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
if [ -d $(DPS)/skprLogger ]; then cd $(DPS)/skprLogger; git pull; cd -; else cd $(DPS); git clone https://github.com/norayr/skprLogger; cd -; fi
if [ -d $(DPS)/skprJson ]; then cd $(DPS)/skprJson; git pull; cd -; else cd $(DPS); git clone https://github.com/norayr/skprJson; cd -; fi
#$(foreach PKG,$(PACKAGES),$(call download_dep,$(PKG), $(strip $(notdir $(PKG)))))
mkdir -p $(mkfile_dir_path)/$(DPS)
if [ -d $(DPS)/lists ]; then cd $(DPS)/lists; git pull; cd -; else cd $(DPS); git clone https://github.com/norayr/lists; 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
if [ -d $(DPS)/skprLogger ]; then cd $(DPS)/skprLogger; git pull; cd -; else cd $(DPS); git clone https://github.com/norayr/skprLogger; cd -; fi
if [ -d $(DPS)/skprJson ]; then cd $(DPS)/skprJson; git pull; cd -; else cd $(DPS); git clone https://github.com/norayr/skprJson; cd -; fi
#$(foreach PKG,$(PACKAGES),$(call download_dep,$(PKG), $(strip $(notdir $(PKG)))))

build_deps:
gmake -f $(mkfile_dir_path)/dps/lists/makefile BUILD=$(build_dir_path)
gmake -f $(mkfile_dir_path)/dps/time/makefile BUILD=$(build_dir_path)
gmake -f $(mkfile_dir_path)/dps/skprLogger/makefile BUILD=$(build_dir_path)
gmake -f $(mkfile_dir_path)/dps/skprJson/makefile BUILD=$(build_dir_path)
cd $(build_dir_path) && \
voc -s ../src/mnshList.Mod ../src/mnshDefs.Mod ../src/mnshStorage.Mod ../src/mnshExtTools.Mod ../src/manush.Mod -m

gmake -f $(mkfile_dir_path)/dps/lists/makefile BUILD=$(build_dir_path)
gmake -f $(mkfile_dir_path)/dps/time/makefile BUILD=$(build_dir_path)
gmake -f $(mkfile_dir_path)/dps/skprLogger/makefile BUILD=$(build_dir_path)
gmake -f $(mkfile_dir_path)/dps/skprJson/makefile BUILD=$(build_dir_path)
cd $(build_dir_path) && \
voc -s ../src/mnshList.Mod ../src/mnshDefs.Mod ../src/mnshStorage.Mod ../src/mnshExtTools.Mod ../src/manush.Mod -M

clean:
rm -rf build/*
rm -rf build/*

0 comments on commit 5856e9c

Please sign in to comment.