# HG changeset patch # User Sam # Date 1673680103 -25200 # Node ID da922b506570167b02bb13311c8d18ff81f9f930 # Parent b1b05d4efb52f583359eb57d5d5146c870298ba9 add: corret make dependencies diff -r b1b05d4efb52 -r da922b506570 Makefile --- a/Makefile Sat Jan 14 14:08:00 2023 +0700 +++ b/Makefile Sat Jan 14 14:08:23 2023 +0700 @@ -7,13 +7,13 @@ cp $< examples # build hello_triangle -build/debug/linux/hello_triangle: ${SOURCES} examples/glslangValidator +build/debug/linux/hello_triangle: ${SOURCES} examples/hello_triangle.nim examples/glslangValidator nim build_linux_debug -o:$@ examples/hello_triangle.nim -build/release/linux/hello_triangle: ${SOURCES} examples/glslangValidator +build/release/linux/hello_triangle: ${SOURCES} examples/hello_triangle.nim examples/glslangValidator nim build_linux_release -o:$@ examples/hello_triangle.nim -build/debug/windows/hello_triangle.exe: ${SOURCES} examples/glslangValidator.exe +build/debug/windows/hello_triangle.exe: ${SOURCES} examples/hello_triangle.nim examples/glslangValidator.exe nim build_windows_debug -o:$@ examples/hello_triangle.nim -build/release/windows/hello_triangle.exe: ${SOURCES} examples/glslangValidator.exe +build/release/windows/hello_triangle.exe: ${SOURCES} examples/hello_triangle.nim examples/glslangValidator.exe nim build_windows_release -o:$@ examples/hello_triangle.nim build_all_linux_hello_triangle: build/debug/linux/hello_triangle build/release/linux/hello_triangle @@ -21,13 +21,13 @@ build_all_hello_triangle: build_all_linux_hello_triangle build_all_windows_hello_triangle # build alotof_triangles -build/debug/linux/alotof_triangles: ${SOURCES} examples/glslangValidator +build/debug/linux/alotof_triangles: ${SOURCES} examples/alotof_triangles.nim examples/glslangValidator nim build_linux_debug -o:$@ examples/alotof_triangles.nim -build/release/linux/alotof_triangles: ${SOURCES} examples/glslangValidator +build/release/linux/alotof_triangles: ${SOURCES} examples/alotof_triangles.nim examples/glslangValidator nim build_linux_release -o:$@ examples/alotof_triangles.nim -build/debug/windows/alotof_triangles.exe: ${SOURCES} examples/glslangValidator.exe +build/debug/windows/alotof_triangles.exe: ${SOURCES} examples/alotof_triangles.nim examples/glslangValidator.exe nim build_windows_debug -o:$@ examples/alotof_triangles.nim -build/release/windows/alotof_triangles.exe: ${SOURCES} examples/glslangValidator.exe +build/release/windows/alotof_triangles.exe: ${SOURCES} examples/alotof_triangles.nim examples/glslangValidator.exe nim build_windows_release -o:$@ examples/alotof_triangles.nim build_all_linux_alotof_triangles: build/debug/linux/alotof_triangles build/release/linux/alotof_triangles