Mercurial > games > semicongine
annotate Makefile @ 33:94c38e4b5782
did: refactoring, move more from make to nimscript
| author | Sam <sam@basx.dev> | 
|---|---|
| date | Sun, 15 Jan 2023 23:23:54 +0700 | 
| parents | da922b506570 | 
| children | 
| rev | line source | 
|---|---|
| 
25
 
8f290112718a
fix: build from scratch not working, remove temp shader files from compilation
 
Sam <sam@basx.dev> 
parents: 
24 
diff
changeset
 | 
1 # compilation requirements | 
| 
 
8f290112718a
fix: build from scratch not working, remove temp shader files from compilation
 
Sam <sam@basx.dev> 
parents: 
24 
diff
changeset
 | 
2 examples/glslangValidator: thirdparty/bin/linux/glslangValidator | 
| 
 
8f290112718a
fix: build from scratch not working, remove temp shader files from compilation
 
Sam <sam@basx.dev> 
parents: 
24 
diff
changeset
 | 
3 cp $< examples | 
| 
 
8f290112718a
fix: build from scratch not working, remove temp shader files from compilation
 
Sam <sam@basx.dev> 
parents: 
24 
diff
changeset
 | 
4 examples/glslangValidator.exe: thirdparty/bin/windows/glslangValidator.exe | 
| 
 
8f290112718a
fix: build from scratch not working, remove temp shader files from compilation
 
Sam <sam@basx.dev> 
parents: 
24 
diff
changeset
 | 
5 cp $< examples | 
| 
 
8f290112718a
fix: build from scratch not working, remove temp shader files from compilation
 
Sam <sam@basx.dev> 
parents: 
24 
diff
changeset
 | 
6 | 
| 
5
 
4ed9cb098315
add: structure code for crossplatform, add some input handling + bugfixes
 
Sam <sam@basx.dev> 
parents: 
3 
diff
changeset
 | 
7 # download thirdparty-libraries | 
| 
2
 
213fdf8d31dd
did: hello world triangle, a bit of code organization
 
Sam <sam@basx.dev> 
parents: 
1 
diff
changeset
 | 
8 | 
| 
25
 
8f290112718a
fix: build from scratch not working, remove temp shader files from compilation
 
Sam <sam@basx.dev> 
parents: 
24 
diff
changeset
 | 
9 thirdparty/bin/linux/glslangValidator: | 
| 
 
8f290112718a
fix: build from scratch not working, remove temp shader files from compilation
 
Sam <sam@basx.dev> 
parents: 
24 
diff
changeset
 | 
10 mkdir -p $$( dirname $@ ) | 
| 
 
8f290112718a
fix: build from scratch not working, remove temp shader files from compilation
 
Sam <sam@basx.dev> 
parents: 
24 
diff
changeset
 | 
11 cd $$( dirname $@ ) && wget https://github.com/KhronosGroup/glslang/releases/download/master-tot/glslang-master-linux-Release.zip | 
| 
 
8f290112718a
fix: build from scratch not working, remove temp shader files from compilation
 
Sam <sam@basx.dev> 
parents: 
24 
diff
changeset
 | 
12 cd $$( dirname $@ ) && unzip *.zip | 
| 
 
8f290112718a
fix: build from scratch not working, remove temp shader files from compilation
 
Sam <sam@basx.dev> 
parents: 
24 
diff
changeset
 | 
13 cd $$( dirname $@ ) && mv bin/* . | 
| 
 
8f290112718a
fix: build from scratch not working, remove temp shader files from compilation
 
Sam <sam@basx.dev> 
parents: 
24 
diff
changeset
 | 
14 cd $$( dirname $@ ) && rm -rf *.zip bin lib include | 
| 
 
8f290112718a
fix: build from scratch not working, remove temp shader files from compilation
 
Sam <sam@basx.dev> 
parents: 
24 
diff
changeset
 | 
15 thirdparty/bin/windows/glslangValidator.exe: | 
| 
 
8f290112718a
fix: build from scratch not working, remove temp shader files from compilation
 
Sam <sam@basx.dev> 
parents: 
24 
diff
changeset
 | 
16 mkdir -p $$( dirname $@ ) | 
| 
 
8f290112718a
fix: build from scratch not working, remove temp shader files from compilation
 
Sam <sam@basx.dev> 
parents: 
24 
diff
changeset
 | 
17 cd $$( dirname $@ ) && wget https://github.com/KhronosGroup/glslang/releases/download/master-tot/glslang-master-windows-x64-Release.zip | 
| 
 
8f290112718a
fix: build from scratch not working, remove temp shader files from compilation
 
Sam <sam@basx.dev> 
parents: 
24 
diff
changeset
 | 
18 cd $$( dirname $@ ) && unzip *.zip | 
| 
 
8f290112718a
fix: build from scratch not working, remove temp shader files from compilation
 
Sam <sam@basx.dev> 
parents: 
24 
diff
changeset
 | 
19 cd $$( dirname $@ ) && mv bin/* . | 
| 
 
8f290112718a
fix: build from scratch not working, remove temp shader files from compilation
 
Sam <sam@basx.dev> 
parents: 
24 
diff
changeset
 | 
20 cd $$( dirname $@ ) && rm -rf *.zip bin lib include | 
