Mercurial > games > semicongine
comparison Makefile @ 29:da922b506570
add: corret make dependencies
| author | Sam <sam@basx.dev> |
|---|---|
| date | Sat, 14 Jan 2023 14:08:23 +0700 |
| parents | 8cb2d96ac28e |
| children | 94c38e4b5782 |
comparison
equal
deleted
inserted
replaced
| 28:b1b05d4efb52 | 29:da922b506570 |
|---|---|
| 5 cp $< examples | 5 cp $< examples |
| 6 examples/glslangValidator.exe: thirdparty/bin/windows/glslangValidator.exe | 6 examples/glslangValidator.exe: thirdparty/bin/windows/glslangValidator.exe |
| 7 cp $< examples | 7 cp $< examples |
| 8 | 8 |
| 9 # build hello_triangle | 9 # build hello_triangle |
| 10 build/debug/linux/hello_triangle: ${SOURCES} examples/glslangValidator | 10 build/debug/linux/hello_triangle: ${SOURCES} examples/hello_triangle.nim examples/glslangValidator |
| 11 nim build_linux_debug -o:$@ examples/hello_triangle.nim | 11 nim build_linux_debug -o:$@ examples/hello_triangle.nim |
| 12 build/release/linux/hello_triangle: ${SOURCES} examples/glslangValidator | 12 build/release/linux/hello_triangle: ${SOURCES} examples/hello_triangle.nim examples/glslangValidator |
| 13 nim build_linux_release -o:$@ examples/hello_triangle.nim | 13 nim build_linux_release -o:$@ examples/hello_triangle.nim |
| 14 build/debug/windows/hello_triangle.exe: ${SOURCES} examples/glslangValidator.exe | 14 build/debug/windows/hello_triangle.exe: ${SOURCES} examples/hello_triangle.nim examples/glslangValidator.exe |
| 15 nim build_windows_debug -o:$@ examples/hello_triangle.nim | 15 nim build_windows_debug -o:$@ examples/hello_triangle.nim |
| 16 build/release/windows/hello_triangle.exe: ${SOURCES} examples/glslangValidator.exe | 16 build/release/windows/hello_triangle.exe: ${SOURCES} examples/hello_triangle.nim examples/glslangValidator.exe |
| 17 nim build_windows_release -o:$@ examples/hello_triangle.nim | 17 nim build_windows_release -o:$@ examples/hello_triangle.nim |
| 18 | 18 |
| 19 build_all_linux_hello_triangle: build/debug/linux/hello_triangle build/release/linux/hello_triangle | 19 build_all_linux_hello_triangle: build/debug/linux/hello_triangle build/release/linux/hello_triangle |
| 20 build_all_windows_hello_triangle: build/debug/windows/hello_triangle.exe build/release/windows/hello_triangle.exe | 20 build_all_windows_hello_triangle: build/debug/windows/hello_triangle.exe build/release/windows/hello_triangle.exe |
| 21 build_all_hello_triangle: build_all_linux_hello_triangle build_all_windows_hello_triangle | 21 build_all_hello_triangle: build_all_linux_hello_triangle build_all_windows_hello_triangle |
| 22 | 22 |
| 23 # build alotof_triangles | 23 # build alotof_triangles |
| 24 build/debug/linux/alotof_triangles: ${SOURCES} examples/glslangValidator | 24 build/debug/linux/alotof_triangles: ${SOURCES} examples/alotof_triangles.nim examples/glslangValidator |
| 25 nim build_linux_debug -o:$@ examples/alotof_triangles.nim | 25 nim build_linux_debug -o:$@ examples/alotof_triangles.nim |
| 26 build/release/linux/alotof_triangles: ${SOURCES} examples/glslangValidator | 26 build/release/linux/alotof_triangles: ${SOURCES} examples/alotof_triangles.nim examples/glslangValidator |
| 27 nim build_linux_release -o:$@ examples/alotof_triangles.nim | 27 nim build_linux_release -o:$@ examples/alotof_triangles.nim |
| 28 build/debug/windows/alotof_triangles.exe: ${SOURCES} examples/glslangValidator.exe | 28 build/debug/windows/alotof_triangles.exe: ${SOURCES} examples/alotof_triangles.nim examples/glslangValidator.exe |
| 29 nim build_windows_debug -o:$@ examples/alotof_triangles.nim | 29 nim build_windows_debug -o:$@ examples/alotof_triangles.nim |
| 30 build/release/windows/alotof_triangles.exe: ${SOURCES} examples/glslangValidator.exe | 30 build/release/windows/alotof_triangles.exe: ${SOURCES} examples/alotof_triangles.nim examples/glslangValidator.exe |
| 31 nim build_windows_release -o:$@ examples/alotof_triangles.nim | 31 nim build_windows_release -o:$@ examples/alotof_triangles.nim |
| 32 | 32 |
| 33 build_all_linux_alotof_triangles: build/debug/linux/alotof_triangles build/release/linux/alotof_triangles | 33 build_all_linux_alotof_triangles: build/debug/linux/alotof_triangles build/release/linux/alotof_triangles |
| 34 build_all_windows_alotof_triangles: build/debug/windows/alotof_triangles.exe build/release/windows/alotof_triangles.exe | 34 build_all_windows_alotof_triangles: build/debug/windows/alotof_triangles.exe build/release/windows/alotof_triangles.exe |
| 35 build_all_alotof_triangles: build_all_linux_alotof_triangles build_all_windows_alotof_triangles | 35 build_all_alotof_triangles: build_all_linux_alotof_triangles build_all_windows_alotof_triangles |
