error limit
[vg.git] / src / tools.sh
1 #!/bin/bash
2 # Copyright (C) 2021-2022 Harry Godden (hgn) - All Rights Reserved
3 #
4 # Standard tool scripts
5 #
6 mkdir $_folder/tools -p
7
8 _link="-lm"
9
10 tool_shader(){
11 _src="vg/src/shader.c"
12 _dst="tools/shader"
13 compile_x
14 }
15
16 tool_fontcomp(){
17 _src="vg/src/fontcomp.c"
18 _dst="tools/fontcomp"
19 compile_x
20 }
21
22 tool_qoiconv(){
23 _src="vg/src/qoiconv.c"
24 _dst="tools/qoiconv"
25 compile_x
26 }
27
28 #tool_texsheet(){
29 # _src="vg/src/texsheet.c"
30 # _dst="tools/texsheet"
31 # compile_x
32 #}
33
34 tool_shader
35 tool_fontcomp
36 tool_qoiconv
37 #tool_texsheet