annotate Makefile @ 3:5d54ef652619

add: skeleton to download thirdparty builds
author Sam <sam@basx.dev>
date Mon, 19 Dec 2022 10:56:04 +0700
parents 213fdf8d31dd
children 4ed9cb098315
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
5daf3f236d87 add: initial version
Sam <sam@basx.dev>
parents:
diff changeset
1 SOURCES := $(shell find src -name '*.nim')
2
213fdf8d31dd did: hello world triangle, a bit of code organization
Sam <sam@basx.dev>
parents: 1
diff changeset
2 COMPILE_OPTIONS := --path:src --mm:orc --experimental:strictEffects --threads:on
213fdf8d31dd did: hello world triangle, a bit of code organization
Sam <sam@basx.dev>
parents: 1
diff changeset
3 DEBUG_OPTIONS := --debugger:native --checks:on --assertions:on
213fdf8d31dd did: hello world triangle, a bit of code organization
Sam <sam@basx.dev>
parents: 1
diff changeset
4 RELEASE_OPTIONS := -d:release --checks:off --assertions:off
0
5daf3f236d87 add: initial version
Sam <sam@basx.dev>
parents:
diff changeset
5
5daf3f236d87 add: initial version
Sam <sam@basx.dev>
parents:
diff changeset
6 build/debug/linux:
5daf3f236d87 add: initial version
Sam <sam@basx.dev>
parents:
diff changeset
7 mkdir -p $@
5daf3f236d87 add: initial version
Sam <sam@basx.dev>
parents:
diff changeset
8 build/debug/linux/test: build/debug/linux ${SOURCES}
2
213fdf8d31dd did: hello world triangle, a bit of code organization
Sam <sam@basx.dev>
parents: 1
diff changeset
9 nim c ${COMPILE_OPTIONS} ${DEBUG_OPTIONS} -o:$@ examples/test.nim
0
5daf3f236d87 add: initial version
Sam <sam@basx.dev>
parents:
diff changeset
10
5daf3f236d87 add: initial version
Sam <sam@basx.dev>
parents:
diff changeset
11 build/release/linux:
5daf3f236d87 add: initial version
Sam <sam@basx.dev>
parents:
diff changeset
12 mkdir -p $@
5daf3f236d87 add: initial version
Sam <sam@basx.dev>
parents:
diff changeset
13 build/release/linux/test: build/release/linux ${SOURCES}
2
213fdf8d31dd did: hello world triangle, a bit of code organization
Sam <sam@basx.dev>
parents: 1
diff changeset
14 nim c ${COMPILE_OPTIONS} ${RELEASE_OPTIONS} -o:$@ examples/test.nim
213fdf8d31dd did: hello world triangle, a bit of code organization
Sam <sam@basx.dev>
parents: 1
diff changeset
15
213fdf8d31dd did: hello world triangle, a bit of code organization
Sam <sam@basx.dev>
parents: 1
diff changeset
16 # not working yet, need to implement windows window-API
213fdf8d31dd did: hello world triangle, a bit of code organization
Sam <sam@basx.dev>
parents: 1
diff changeset
17 # build/debug/windows:
213fdf8d31dd did: hello world triangle, a bit of code organization
Sam <sam@basx.dev>
parents: 1
diff changeset
18 # mkdir -p $@
213fdf8d31dd did: hello world triangle, a bit of code organization
Sam <sam@basx.dev>
parents: 1
diff changeset
19 # build/debug/windows/test: build/debug/windows ${SOURCES}
213fdf8d31dd did: hello world triangle, a bit of code organization
Sam <sam@basx.dev>
parents: 1
diff changeset
20 # nim c ${COMPILE_OPTIONS} ${DEBUG_OPTIONS} -d:mingw -o:$@ examples/test.nim
213fdf8d31dd did: hello world triangle, a bit of code organization
Sam <sam@basx.dev>
parents: 1
diff changeset
21 # build/release/windows:
213fdf8d31dd did: hello world triangle, a bit of code organization
Sam <sam@basx.dev>
parents: 1
diff changeset
22 # mkdir -p $@
213fdf8d31dd did: hello world triangle, a bit of code organization
Sam <sam@basx.dev>
parents: 1
diff changeset
23 # build/release/windows/test: build/release/windows ${SOURCES}
213fdf8d31dd did: hello world triangle, a bit of code organization
Sam <sam@basx.dev>
parents: 1
diff changeset
24 # nim c ${COMPILE_OPTIONS} ${DEBUG_OPTIONS} -d:mingw -o:$@ examples/test.nim
3
5d54ef652619 add: skeleton to download thirdparty builds
Sam <sam@basx.dev>
parents: 2
diff changeset
25 thirdparty:
5d54ef652619 add: skeleton to download thirdparty builds
Sam <sam@basx.dev>
parents: 2
diff changeset
26 echo https://storage.googleapis.com/spirv-tools/artifacts/prod/graphics_shader_compiler/spirv-tools/windows-msvc-2017-release/continuous/1885/20221216-081805/install.zip
5d54ef652619 add: skeleton to download thirdparty builds
Sam <sam@basx.dev>
parents: 2
diff changeset
27 echo https://storage.googleapis.com/spirv-tools/artifacts/prod/graphics_shader_compiler/spirv-tools/windows-msvc-2017-release/continuous/1885/20221216-081805/install.zip
2
213fdf8d31dd did: hello world triangle, a bit of code organization
Sam <sam@basx.dev>
parents: 1
diff changeset
28
3
5d54ef652619 add: skeleton to download thirdparty builds
Sam <sam@basx.dev>
parents: 2
diff changeset
29 SPIRV_TOOLS_LINUX_DEBUG:
5d54ef652619 add: skeleton to download thirdparty builds
Sam <sam@basx.dev>
parents: 2
diff changeset
30 wget https://storage.googleapis.com/spirv-tools/artifacts/prod/graphics_shader_compiler/spirv-tools/linux-gcc-release/continuous/1889/20221216-081754/install.tgz
5d54ef652619 add: skeleton to download thirdparty builds
Sam <sam@basx.dev>
parents: 2
diff changeset
31 SPIRV_TOOLS_LINUX_DEBUG:
5d54ef652619 add: skeleton to download thirdparty builds
Sam <sam@basx.dev>
parents: 2
diff changeset
32 wget https://storage.googleapis.com/spirv-tools/artifacts/prod/graphics_shader_compiler/spirv-tools/linux-gcc-debug/continuous/1899/20221216-081758/install.tgz
5d54ef652619 add: skeleton to download thirdparty builds
Sam <sam@basx.dev>
parents: 2
diff changeset
33 SPIRV_TOOLS_WINDOWS_DEBUG:
5d54ef652619 add: skeleton to download thirdparty builds
Sam <sam@basx.dev>
parents: 2
diff changeset
34 wget https://storage.googleapis.com/spirv-tools/artifacts/prod/graphics_shader_compiler/spirv-tools/windows-msvc-2017-debug/continuous/1599/20221216-081803/install.zip
5d54ef652619 add: skeleton to download thirdparty builds
Sam <sam@basx.dev>
parents: 2
diff changeset
35 SPIRV_TOOLS_WINDOWS_RELEASE:
5d54ef652619 add: skeleton to download thirdparty builds
Sam <sam@basx.dev>
parents: 2
diff changeset
36 wget https://storage.googleapis.com/spirv-tools/artifacts/prod/graphics_shader_compiler/spirv-tools/windows-msvc-2017-release/continuous/1885/20221216-081805/install.zip
5d54ef652619 add: skeleton to download thirdparty builds
Sam <sam@basx.dev>
parents: 2
diff changeset
37
5d54ef652619 add: skeleton to download thirdparty builds
Sam <sam@basx.dev>
parents: 2
diff changeset
38 GLSL_LINUX_DEBUG:
5d54ef652619 add: skeleton to download thirdparty builds
Sam <sam@basx.dev>
parents: 2
diff changeset
39 wget
5d54ef652619 add: skeleton to download thirdparty builds
Sam <sam@basx.dev>
parents: 2
diff changeset
40 GLSL_LINUX_RELEASE:
5d54ef652619 add: skeleton to download thirdparty builds
Sam <sam@basx.dev>
parents: 2
diff changeset
41 wget
5d54ef652619 add: skeleton to download thirdparty builds
Sam <sam@basx.dev>
parents: 2
diff changeset
42 GLSL_WINDOWS_DEBUG:
5d54ef652619 add: skeleton to download thirdparty builds
Sam <sam@basx.dev>
parents: 2
diff changeset
43 wget
5d54ef652619 add: skeleton to download thirdparty builds
Sam <sam@basx.dev>
parents: 2
diff changeset
44 GLSL_WINDOWS_RELEASE:
5d54ef652619 add: skeleton to download thirdparty builds
Sam <sam@basx.dev>
parents: 2
diff changeset
45 wget